/* These Bootstrap 5 and Bootstrap-inspired Custom Helper Classes are handy for quick styling and layout adjustments. They are not a complete Bootstrap implementation but provide a good starting point for common use cases (based on Bootstrap 5). */

/* ============================================
   BOOTSTRAP 5 CLASSES
   ============================================ */

/* Padding */
.p-3 {
    padding: 16px;
}

.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.px-3 {
    padding-left: 16px;
    padding-right: 16px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.py-3 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.ps-2 {
    padding-left: 8px;
}

.ps-4 {
    padding-left: 24px;
}

/* Margin */
.mt-3 {
    margin-top: 16px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.ms-4 {
    margin-left: 24px;
}

.ms-auto {
    margin-left: auto;
}

/* Display */
.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.d-flex {
    display: flex;
}

/* Flexbox */
.flex-column {
    flex-direction: column;
}

.gap-3 {
    gap: 16px;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

/* Text */
.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-decoration-underline {
    text-decoration: underline;
}

.text-nowrap {
    white-space: nowrap;
}

.text-white {
    color: var(--white);
}

.fs-sm {
    font-size: 14px;
}

.fs-xs {
    font-size: 12px;
}

/* Buttons */
.btn {
    display: inline-block;
    white-space: nowrap;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 8px 20px;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    transition: color .15s, background-color .15s;
    border: none;
}

    .btn:hover,
    .btn:focus-visible,
    .btn:visited {
        color: var(--white);
        text-decoration: none;
    }

.btn-sm {
    padding: 4px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    color: var(--white);
    background-color: var(--blue);
}

/* Border */
.border-0 {
    border: none;
}

/* ============================================
   CUSTOM HELPER CLASSES
   ============================================ */

/* Padding */
.pt-12 {
    padding-top: 12px;
}

/* Layout */
.two-col {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

    .two-col ul {
        flex: 1;
    }

/* Text */
.text-module-red {
    color: var(--module-red);
}

.fs-15 {
    font-size: 15px;
}

/* Buttons */
.primary-btn {
    display: inline-block;
    white-space: nowrap;
    padding: 8px 20px;
    color: var(--white);
    background-color: var(--blue);
    cursor: pointer;
}

    .primary-btn:hover,
    .primary-btn:focus-visible,
    .primary-btn:visited {
        color: var(--white);
        text-decoration: none;
    }

/* Border */
.rounded-bottom-1 {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* Background */
.bg-gray {
    background-color: var(--gray);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-module-primary-subtle {
    background-color: var(--module-light-blue);
}

.bg-module-blue {
    background-color: var(--module-blue);
}

.bg-module-blue-subtle {
    background-color: var(--module-light-blue);
}

/* List Styles */
.list-style-disc {
    list-style-type: disc;
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* ============================================
   CS-SPECIFIC HELPER CLASSES
   ============================================ */

/* Buttons */
.btn-outline-primary {
    white-space: normal;
    padding: 8px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    width: 100%;
    color: var(--blue);
    background-color: var(--white);
}

    .btn-outline-primary:visited {
        color: var(--blue);
    }

    .btn-outline-primary:hover,
    .btn-outline-primary:focus,
    .btn-outline-primary:focus-visible {
        color: var(--white);
        background-color: var(--blue);
        border-color: var(--blue);
    }

/* Background */
.bg-red {
    background-color: var(--red);
}

.bg-module-red {
    background-color: var(--module-red);
}

.bg-module-red-subtle {
    background-color: var(--module-light-red);
}
