/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/


.form-group{
    position:relative;
}

.form-label {
    position: absolute;
    top: 10px; /* Adjust as needed */
    left: 0; /* Adjust as needed */
    font-size: 16px; /* Initial font size */
    color: #999 !important;
    pointer-events: none; /* Allows clicks to pass through to the input */
    transition: all 0.3s ease-in-out;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -12px; /* Move label upwards */
    font-size: 12px; /* Reduce font size */
    color: #333 !important; /* Change color */
    background-color: white; /* Match background to hide overlap */
    padding: 0 5px; /* Add padding if needed for background */
}
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    /* Add other input styling */
}


.program-card {
      cursor: pointer;
      transition: 0.2s;
    }

    .program-card:hover {
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    }

    .program-card.selected {
      border: 2px solid #198754 !important;
      background-color: #e9fbee;
    }

    .class-details-view {
      display: none;
    }

#agreementText, #studentperformancefactsheet {
    max-height: 400px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 2rem;
    text-align: justify;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#studentperformancefactsheet table{
    text-align:left;
}

#signatureSection {
    display: none;
    transition: all 0.3s ease;
}

#signatureCanvas {
    border: 2px solid #333;
    width: 400px;
    height: 150px;
    touch-action: none;
    background-color: #fff;
}

.payment-summary, .payment-method {
    margin: 30px auto;
}


.summary-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .summary-row.total {
        font-weight: bold;
        color: #b55b00;
    }

.financing-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.payment-toggle {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.toggle-btn {
    flex: 1;
    border-radius: 50px;
    padding: 10px 20px;
    border: 2px solid #2f7033;
    background-color: white;
    color: #2f7033;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .toggle-btn.selected {
        background-color: #2f7033;
        color: white;
    }

.payment-plan-options {
    background-color: #fffaf0;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 6px;
}

.plan-option {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
}

    .plan-option input {
        margin-right: 15px;
    }

    .plan-option div {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

.note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.site-header {
    position: relative;
}

.site-header__decor {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 99;
}

.site-header__decor-row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.site-header__decor-single {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 33.33333%;
    flex: 1 1 33.33333%;
    max-width: 33.33333%;
}

[class*="site-header__decor-inner-"] {
    position: relative;
}

    [class*="site-header__decor-inner-"]::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background-color: #1c494c;
        opacity: 0.9;
    }

.site-header__decor-inner-2::before {
    background-color: #ff7d01;
}

.site-header__decor-inner-3::before {
    background-color: #ffcd00;
}

.welcome-cover {
    background: #ffffff;
    padding: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
    position: absolute;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.welcome-cover .container {
    text-align: center;
    background: white;
    border-radius: 12px;
    
}

.selectsched {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-left: 0;
    position: relative;
}

    .selectsched > div {
        width: 100%;
    }

.class_types {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}
    .class_types > div {
        flex: 1;
        padding: 5px;
        font-size: 0.9em;
    }

.selectsched .form-check-label {
    display: block;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.selectsched .form-check-input {
    display: none;
}

    .selectsched .form-check-input:checked + .form-check-label {
        border-color: #0d6efd;
        background-color: #e7f1ff;
    }

.iti .iti__selected-dial-code,
.iti__selected-country-primary {
    margin-bottom: 2px;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    #loadingOverlay .spinner {
        border: 6px solid #f3f3f3;
        border-top: 6px solid #007bff;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin-bottom: 15px;
    }

.country-label{
    font-size:12px;
    padding-left:5px;
}

.inline {
    display: flex; /* arrange children side by side */
    justify-content: space-between; /* push them apart */
    width: 100%; /* full width of container */
}

    .inline label {
        width: 50%; /* each label takes half space */
        box-sizing: border-box;
    }

.welcome-logo{
    margin:0 auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .welcome-cover .container {
        padding: 80px;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    .welcome-cover .container {
        padding: 40px;
    }

    #custom-titles li{
        width:20%;
        margin-left:0px;
    }

    #custom-titles li span {
        display: none !important;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .welcome-cover .container {
        padding: 20px;
    }

    #custom-titles li span {
        display: none !important;
    }
}