﻿body {
    overflow: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-top: 10px
}

.logo-text {
    font-family: "Helvetica";
    font-weight: 500;
    font-size: 25px;
    padding: 0px 10px;
    margin-top: 17px
}

.logo img {
    width: 175px;
    vertical-align: middle;
}

.auth-form {
    margin: 85px;
    display: block;
    justify-content: center;
    align-items: center;
}

.auth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.auth-title {
    font-family: "Helvetica";
    font-weight: bold;
    font-size: 20px;
}

.auth-logo,
.auth-title {
    display: flex;
    justify-content: center;
}

.auth-logo img {
    width: 350px;
}

#forgot-pass {
    color: #2dbd6e;
    font-family: "Helvetica";
    font-size: 10pt;
    margin-top: 3px;
    text-align: right;
}

#card {
    background: #fbfbfb;
    border-radius: 8px;
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
    height: auto;
    width: 329px;
    margin: auto;
}

#card-content {
    padding: 12px 44px;
}

#card-title {
    font-family: "Helvetica";
    padding-bottom: 23px;
    padding-top: 13px;
    text-align: center;
}

#signup {
    color: #2dbd6e;
    font-family: "Helvetica";
    font-size: 10pt;
    margin-top: 16px;
    text-align: center;
}

#submit-btn, #register-btn {
    background: #2AD965;
    border: none;
    border-radius: 21px;
    cursor: pointer;
    color: white;
    font-family: "Helvetica";
    height: 42.3px;
    margin: 0 auto;
    margin-top: 50px;
    width: 153px;
}

#submit-btn:hover, #register-btn:hover {
    background: #1fa64d;
}

#validate-btn {
    background: #0295DF;
    border: none;
    cursor: pointer;
    color: white;
    font-family: "Helvetica";
}

    #validate-btn:hover {
        background: #0283C4;
    }

#validationResult {

}

/* Define a custom class for styling checkboxes */
.custom-checkbox .form-content[type="checkbox"] {
    width: 17px;
    height: 17px;
    border: 2px solid #24c64f; /* Border color when unchecked */
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
}

    .custom-checkbox .form-content[type="checkbox"]:checked::before {
        content: '✓' !important;
        font-size: 14px;
        line-height: 16px;
        color: #ffffff;
        text-align: center;
        vertical-align: middle;
        position: absolute;
        top: 0;
        left: 0;
        width: 16px;
        height: 16px;
        background-color: #24c64f;  
    }

.form {
    display: flex;
    flex-direction: column;
}

.form-border {
    background-color: #2AD965;
    height: 1.5px;
    width: 100%;
}

.form-content {
    background: #fbfbfb;
    border: none;
    outline: none;
    padding-top: 14px;
}

.underline-title {
    background: white;
    margin: -1.1rem auto 0 auto;
    width: 89px;
}

/* Terms */
.terms-container {
    max-width: 1000px;
    margin: 20px auto 0 auto;
    text-align: justify;
}

.terms-bold {
    font-weight: bold;
}

.terms-scrollbox {
    border: 1px solid #ccc;
    padding: 20px 35px 25px 25px;
    height: 300px;
    overflow-y: scroll;
    background-color: #fcfcfc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    margin-bottom: 30px;
    margin-top: 30px;
}

    .terms-scrollbox ol {
        padding-left: 20px;
        margin: 0;
    }

    .terms-scrollbox li {
        margin-bottom: 15px;
        text-align: justify;
    }

    .terms-scrollbox ol li::marker {
        font-weight: bold;
    }

        .terms-scrollbox li:last-child {
            margin-bottom: 0;
        }

    .terms-scrollbox strong {
        font-weight: 700;
    }

.email-link {
    color: #0071c1;
}

/* ==== Responsive Adjustments ==== */
@media (max-width: 768px) {
    .auth-form {
        margin: 40px 20px;
    }

    .auth-logo img {
        width: 250px;
    }

    .logo-container {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
    }

    #card {
        width: 90%;
        max-width: 329px;
    }

    #card-content {
        padding: 12px 25px;
    }

    #submit-btn,
    #register-btn {
        width: 100%;
    }

    .terms-scrollbox {
        padding: 20px;
        height: 250px;
    }

    .terms-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 180px;
    }

    .logo-text {
        font-size: 20px;
    }

    .auth-form {
        margin: 20px 10px;
    }

    .auth-logo img {
        width: 200px;
    }

    #card {
        width: 95%;
    }

    #submit-btn,
    #register-btn {
        width: 100%;
        margin-top: 30px;
    }

}
