.auth-main {
    padding: 2.5rem 0;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
}

.form-group,
.email,
.password {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    display: block;
}

.required::after {
    content: " *";
    color: #dc3545;
}

.auth-input {
    width: 100%;
    height: 38px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.auth-input:hover {
    border-color: #d1d5db;
}

.input-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.input-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.input-success {
    border-color: #28a745 !important;
    background-color: #f8fff9;
}

.input-success:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.error-message::before {
    content: "⚠";
    font-size: 12px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-info {
    background-color: #cce7ff;
    color: #004085;
    border-color: #b8daff;
}

.button {
    text-align: center;
    margin-top: 20px;
}

.button-login {
    height: 38px;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.button-login:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851a);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.button-login:active {
    transform: translateY(0);
}

.button-login:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-login:disabled:hover {
    background: #ccc;
    transform: none;
    box-shadow: none;
}

.button-login.loading {
    background: #ccc;
    cursor: not-allowed;
    position: relative;
}

.button-login.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.fb-gg {
    text-align: center;
}
.fb-gg .line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.fb-gg .line span {
    height: 1px;
    background: #e1e5e9;
    flex: 1;
}

.fb-gg .line .text {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    padding: 0 10px;
    background: #fff;
    line-height: 1;
    height: auto;
}

.fb-gg p::before {
    left: 0;
}

.fb-gg p::after {
    right: 0;
}

.fb-gg-button {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fb-button,
.google-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: calc(50% - 8px);
    justify-content: center;
}

.fb-button {
    background-color: #1877f2;
    color: white;
}

.fb-button:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.google-button {
    background-color: #db4437;
    color: white;
}

.google-button:hover {
    background-color: #c23321;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(219, 68, 55, 0.3);
}

.google-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 767px) {
    .auth-main {
        padding: 1.25rem 0;
    }

    .fb-gg-button {
        flex-direction: column;
        gap: 8px;
    }

    .fb-button,
    .google-button {
        width: 100%;
    }
}

@media (max-width: 374px) {
    input[type="email"],
    input[type="text"],
    input[type="password"] {
        height: 44px;
        padding: 10px 12px;
    }

    .button-login {
        height: 44px;
        font-size: 15px;
    }
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.password-strength {
    margin-top: 8px;
    display: flex;
    gap: 4px;
}

.password-strength-bar {
    height: 4px;
    flex: 1;
    background-color: #e1e5e9;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.password-strength-bar.weak {
    background-color: #dc3545;
}

.password-strength-bar.medium {
    background-color: #ffc107;
}

.password-strength-bar.strong {
    background-color: #28a745;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.password-strength-text.weak {
    color: #dc3545;
}

.password-strength-text.medium {
    color: #ffc107;
}

.password-strength-text.strong {
    color: #28a745;
}

.auth-hero-inner {
    color: #ebf4f3;
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 16px;
    width: 100%;
    text-align: center;
}

.auth-hero-inner h2 {
    font-family: "BD StreetSign Sans", "BD_StreetSign_Sans", "Inter", system-ui, sans-serif;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.auth-hero-inner p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991px) {
    .auth-hero-inner h2 {
        font-size: 28px;
    }

    .auth-hero-inner p {
        font-size: 14px;
    }
}
.reset-password-main {
    align-items: flex-start;
    background: #ffffff;
    padding: 0 0 64px;
    flex-direction: column;
}
.reset-password-main .auth-hero {
    background: linear-gradient(rgba(0, 178, 152, 0.8), rgba(0, 178, 152, 0.8)),
        var(--auth-hero-bg, url('./../images/banner_form.png')) center/cover no-repeat;
    display: flex;
    align-items: center;
    height: 220px;
    width: 100%;
}
.reset-password-card {
    margin-top: 5rem;
}
.reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    max-width: 556px;
}
.reset-password-main .form-group-flat {
    background: #f6f6f6;
    border-radius: 8px;
    margin-bottom: 0;
    min-height: 84px;
    padding: 12px 24px;
}
.reset-password-main .form-group-flat label {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 4px;
}
.reset-password-main .form-group-flat .required::after {
    color: #a0ce52;
}
.reset-password-main .form-group-flat .auth-input {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    font-size: 16px;
    height: 22px;
    line-height: 22px;
    padding: 0;
}
.reset-password-main .form-group-flat .auth-input::placeholder {
    color: #909090;
    opacity: 1;
}
.reset-password-main .form-group-flat .auth-input:focus {
    border: 0;
    box-shadow: none;
}
.reset-password-main .error-message {
    margin-top: 6px;
}
.reset-password-main .reset-password-button-wrap {
    margin-top: 0;
}
.reset-password-main .reset-password-button {
    background: #00b299;
    border-radius: 8px;
    color: #ebf4f3;
    font-size: 18px;
    font-weight: 600;
    height: 56px;
    letter-spacing: 0.02em;
    line-height: 24px;
    max-width: 556px;
    width: 100%;
}
.reset-password-main .reset-password-button:hover {
    background: #00a48d;
    box-shadow: none;
    transform: none;
}
.reset-password-main .reset-password-login-link {
    color: #909090;
    font-size: 16px;
    line-height: 1.27;
    margin: 0;
}
.reset-password-main .reset-password-login-link a {
    color: #00b298;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .auth-hero-inner h2 {
        font-size: 2rem;
    }
    .reset-password-card {
        margin-top: 4rem;
    }
}

@media (max-width: 991px) {
    .reset-password-main {
        overflow-x: hidden;
        padding-bottom: 3rem;
    }
    .reset-password-main .auth-hero {
        height: 11rem;
    }

    .auth-hero-inner h2 {
        font-size: 1.75rem;
    }

    .auth-hero-inner p {
        font-size: 0.875rem;
    }
    .reset-password-card {
        margin-top: 3rem;
    }
    .reset-password-main .form-group-flat {
        min-height: 0;
        padding: 0.75rem 1rem;
    }
    .reset-password-main .reset-password-button {
        font-size: 1rem;
        height: 3rem;
    }
}

@media (max-width: 767px) {
    .auth-hero-inner {
        padding: 0 1rem;
    }

    .auth-hero-inner h2 {
        font-size: 1.5rem;
    }
    .reset-password-main .reset-password-login-link {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    .reset-password-main .form-group-flat label,
    .reset-password-main .form-group-flat .auth-input {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

@media (max-width: 374px) {
    .reset-password-card {
        margin-top: 2rem;
    }
    .reset-password-main .reset-password-button {
        font-size: 0.9375rem;
    }
}
