﻿body {
    margin: 0px;
    padding: 0px;
}

/* Set padding to keep content from hitting the edges */
.body-content {   
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
    max-width: 100%;
}

ul {
    list-style-type: none;
}

hr {
    margin: 2rem 0;
}

/** Custom styles **/
.reset {
    all: revert;
}

.form-fieldset {
    border: 1px solid #ced4da;
}

.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


footer p {
    font-family: 'Inter', sans-serif;
    color: #595959;
}

.bd-navbar {
    background-color: #004db8;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%), inset 0 -1px 0 rgb(0 0 0 / 15%);
}

.bd-navbar:after {
    display: block !important;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
    height: 100%;
    background-color: #ed0038;
    z-index: -1;
}

.nav-logo {
    margin: 0 auto;
    display: inline-block;
}

.company-logo {
    width: 48px;
}

.bd-sidebar {
    grid-area: sidebar;
}

    .bd-sidebar .offcanvas-body {
        margin-top: 24px;
    }

.bd-main {
    grid-area: main;
    margin-top:24px;
}

.bd-layout {
    display: block;
}

.bd-gutter {
    --bs-gutter-x: 3rem;
}

.bd-links-link {
    padding: 0.1875rem 0.5rem;
    margin-top: 0.125rem;
    margin-left: 1rem;
    color: rgba(0,0,0,0.65);
    text-decoration: none;
}

    .bd-links-link:hover, .bd-links-link:focus, .bd-links-link.active {
        color: rgba(0,0,0,0.85);
        background-color: rgba(112, 44, 249, 0.1);
    }

/* Icons */
.bisvg {
    width: 1em;
    height: 1em;
    fill: currentcolor;
}

.user-profile-picture {
    width: 35px;
    height: 35px;
    margin-left: 12px;
    color: var(--bs-white);
}
    .user-profile-picture:hover {
        height: 35px;
        width: 35px;
        background-color: #D1D1D1;
        border-radius: 50%;
        display: inline-block;
    }

.small {
    font-size: small;
}

.x-small {
    font-size: x-small;
}

@media (min-width: 992px) {
    .bd-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 5rem;
        display: block !important;
        height: calc(100vh - 6rem);
        padding-left: 0.25rem;
        margin-left: -0.25rem;
        overflow-y: auto;
    }

    .nav-logo {
        margin-left: 12px;
        height: 47px;
        display: inline-block;
    }

    .company-logo {
        width: 96px;
    }

    .bd-layout {
        display: grid;
        grid-template-areas: "sidebar main";
        grid-template-columns: 1fr 5fr;
        gap: 1.5rem;
    }

    .form-title {
        text-transform: uppercase;
        color: #004db8;
    }

    .form-sub-title {
        color: #004db8;
    }

    .custom-label {
        font-size: 15px;
        font-weight: 600;
        color: #004db8;
        margin-left: 3px;
    }
}

.custom-title {
    color: #1F4391;
    font-size: 4vw;
}

/*button style*/

#Submit,
#otpButton,
#btMenu,
#peContinue,
#cCredentials,
#AgreeRIBLink,
#submitButton,
#btnmenu2,
#BtnAgree,
#psPrint {
    border-radius: 2px;
    font-weight: 600;
    background-color: #004DB8;
    color: #fff;
    /* Responsive sizing */
    font-size: clamp(0.75rem, 3vw, 1rem);
    padding: clamp(6px, 2vw, 12px) clamp(12px, 4vw, 24px);
    line-height: 1.2;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#bCancelbtn,
#tcCancelbtn,
#pdCancelbtn {
    border-radius: 2px;
    font-weight: 600;
    border-color: #004DB8 !important;
    color: #2E2E2E;
    background-color: transparent;
    /* Responsive sizing */
    font-size: clamp(0.75rem, 3vw, 1rem);
    padding: clamp(6px, 2vw, 12px) clamp(12px, 4vw, 24px);
    line-height: 1.2;
    transition: all 0.2s ease-in-out;
}

    #bCancelbtn:hover,
    #tcCancelbtn:hover,
    #pdCancelbtn:hover {
        background-color: #004DB8;
        color: #DEECFF;
    }

@media (max-width: 576px) {
    #Submit,
    #otpButton,
    #btMenu,
    #peContinue,
    #cCredentials,
    #AgreeRIBLink,
    #submitButton,
    #btnmenu2,
    #BtnAgree,
    #psPrint,
    #bCancelbtn,
    #tcCancelbtn,
    #pdCancelbtn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.custom-button {
    background-color: #1F4391;
    color: #fff;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Responsive sizing */
    padding: clamp(6px, 2vw, 12px) clamp(14px, 4vw, 28px);
    gap: clamp(4px, 1.5vw, 8px);
    font-size: clamp(0.75rem, 3vw, 1rem);
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .custom-button:hover {
        background-color: #16306b;
    }

    .custom-button .arrow {
        display: inline-block;
        font-size: 1em; /* scales with text */
        transition: transform 0.2s ease;
    }

    .custom-button:hover .arrow {
        transform: translateX(4px);
    }

@media (max-width: 375px) {
    .custom-button {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
}

.custom-card-title {
    color: #1F4391;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.custom-card-text {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.custom-list {
    list-style-type: disc;
    font-size: clamp(0.65rem, 1.2vw, 0.95rem);
    line-height: 1.4;
}

.custom-list li {
    margin-bottom: 0.3rem;
}

.custom-carousel {
    border-radius: 6px;
    overflow: hidden;
    height: 180px;
}

.custom-carousel-card {
    height: 100%;
    border-radius: 0;
    border: none;
    overflow: hidden;
    position: relative;
}

.custom-carousel-img {
    height: 100%;
    object-fit: cover;
}

.custom-carousel-overlay {
    background: rgba(33, 37, 41, 0.5);
    height: 100%;
    align-items: center;
    padding-left: 1rem;
}

.custom-carousel-icon {
    font-size: 3rem;
    margin-right: 1rem;
}

.custom-carousel-indicators {
    bottom: 10px;
}

.custom-scrollspy-body {
    max-height: 70vh;
}

.custom-scroll-section {
    scroll-margin-top: 100px;
}

.custom-text-block {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.divider-line {
    width: 80px;
    height: 3px;
    background-color: #004db8;
    opacity: 1;
    margin: 20px;
}


.footer a {
    text-decoration: none;
    color: inherit; /* matches text-muted by default */
}

    .footer a:hover {
        text-decoration: underline; /* optional hover effect */
    }

.toast-container {
    z-index: 11;
}

.breadcrumbs a {
    text-decoration: none;
    color: #6c757d; /* matches Bootstrap text-muted */
}

.data-privacy-title {
    color: #1F4391;
}

.data-privacy-subtitle {
    color: #1F4391;
}

.enrollment-card h4 {
    color: #1F4391;
}

.enrollment-card strong {
    color: #1F4391;
}

.custom-label-color {
    color: #1F4391;
}

.text-decoration-none {
    text-decoration: none;
}

.custom-margin-top {
    margin-top: 120px;
}

.min-vh-90 {
    height: 90vh;
}

.min-vh-80 {
    height: 80vh;
}

.min-vh-70 {
    height: 70vh;
}

.max-h-90 {
    max-height: 90px;
}

input[readonly],
textarea[readonly] {
    background-color: #e9ecef; /* light gray */
    color: #6c757d; /* gray text */
    cursor: not-allowed;
}