
* {
scroll-behavior: smooth;
}

.font-montserrat {
    font-family: "Montserrat", sans-serif;
}
.font-inter {
    font-family: "Inter", sans-serif;
}


/*hamburger menu classes*/
#sidebar {
    transition: transform 0.3s ease;
}

.hide {
    transform: translateX(-100%);
}

/* Hidden by default */
.sm-hidden-md-block {
    display: none;
}

/* Show as block on medium (768px+) and larger */
@media (min-width: 768px) {
    .sm-hidden-md-block {
        display: block;
    }
}


/* Block by default */
.sm-block-md-hidden {
    display: block;
}

/* Hide on medium (768px+) and larger */
@media (min-width: 768px) {
    .sm-block-md-hidden {
        display: none;
    }
}




.form-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .back-button:hover {
        background: #f5f5f5;
    }

.form-header {
    text-align: left;
    margin-bottom: 32px;
    margin-top: 20px;
}

.form-title {
    font-size: 22px;
    color: #000;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 10px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #1E90FF;
        box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
    }

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    z-index: 2;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

    .password-toggle:hover {
        color: #333;
    }


.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin: 24px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.checkbox {
    margin-right: 12px;
    margin-top: 2px;
    accent-color: #1E90FF;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.checkbox-container a {
    color: #1E90FF;
    text-decoration: none;
    font-weight: 500;
}

    .checkbox-container a:hover {
        text-decoration: underline;
    }

.form-button {
    width: 100%;
    background: #1E90FF;
    color: #fff;
    border: none;
    padding: 6px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

    .form-button:hover {
        background: #1873CC;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(30, 144, 255, 0.4);
    }

.divider {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin: 24px 0;
}

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e0e0e0;
    }

    .divider span {
        margin: 0 16px;
        background: #fff;
        padding: 0 8px;
    }

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-button:hover {
        background: #333;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        color: #fff;
        text-decoration: none;
    }

.social-icon {
    margin-right: 8px;
    font-size: 16px;
}

.signin-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

    .signin-link a {
        color: #1E90FF;
        font-weight: 500;
        text-decoration: none;
    }

        .signin-link a:hover {
            text-decoration: underline;
        }

.text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.validation-summary-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    color: #721c24;
    font-size: 14px;
}

#formSummary {
    display: none; /* hidden by default */
    background-color: #fdecea;
    color: #b71c1c;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    white-space: pre-line;
}

    #formSummary.visible {
        display: block;
    }




.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

    .password-toggle:hover {
        color: #333;
    }