.login-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    background: #f5f6fa;
    color: #333333;
    font-family: "Inter", "Segoe UI", sans-serif;
}

.login-left,
.login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
}

.login-left {
    flex: 2;
}

.login-right {
    flex: 3;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.08);
    padding: 3rem 2.75rem;
    width: 100%;
    max-width: 610px;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: "Baloo Paaji 2", "Inter", "Segoe UI", sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1.05rem;
}

.login-logo-primary {
    color: #333333;
}

.login-logo-accent {
    color: #35cc58;
}

.login-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.login-subtitle {
    font-size: 0.95rem;
    color: rgba(51, 51, 51, 0.75);
    margin-bottom: 2rem;
}

.login-error {
    background: #ffe6e6;
    border: 1px solid #ffb3b3;
    color: #c53030;
    border-radius: 10px;
    padding: 0.95rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.login-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(99,102,241,0.1));
    border: 1px solid rgba(59,130,246,0.18);
    color: #1d4ed8;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.login-info-banner__icon {
    font-size: 1.25rem;
    line-height: 1;
}

.login-info-banner__content {
    flex: 1;
    display: grid;
    gap: 0.35rem;
}

.login-info-banner__text {
    margin: 0;
    font-weight: 500;
}

.login-info-banner--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(248, 113, 113, 0.1));
    border-color: rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

.login-info-banner--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(34, 197, 94, 0.1));
    border-color: rgba(16, 185, 129, 0.25);
    color: #047857;
}

.login-info-banner__actions {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: rgba(37, 99, 235, 0.85);
}

.login-form-group {
    margin-bottom: 1.25rem;
}

.login-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-input {
    width: 100%;
    border: 1px solid rgba(51, 51, 51, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: #333333;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.login-input:focus {
    outline: none;
    border-color: #35cc58;
    box-shadow: 0 0 0 3px rgba(53, 204, 88, 0.2);
}

.login-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    font-size: 0.9rem;
}

.login-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.login-checkbox input {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(51, 51, 51, 0.2);
    border-radius: 4px;
}

.login-link {
    color: #35cc58;
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover {
    text-decoration: underline;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #35cc58, #2fa64a);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(47, 166, 74, 0.25);
}

.login-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.login-right {
    background: #111111 url("../img/dineasy-login-background.webp") center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.forgot-password-wrapper,
.reset-password-wrapper {
    justify-content: center;
    align-items: center;
}

.forgot-password-wrapper .login-left,
.reset-password-wrapper .login-left {
    flex: 0 1 auto;
    width: 100%;
    max-width: 600px;
}

.forgot-password-wrapper .login-card,
.reset-password-wrapper .login-card {
    max-width: 540px;
    padding: 2.75rem 2.5rem;
}

.forgot-password-wrapper .login-right,
.reset-password-wrapper .login-right {
    display: none;
}

.login-status {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.login-status--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.login-status--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.password-strength-meter {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.password-strength-meter__bar {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.password-strength-meter__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #35cc58, #2fa64a);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.password-strength-meter[data-strength="weak"] .password-strength-meter__fill {
    background: #f87171;
    transform: scaleX(0.33);
}

.password-strength-meter[data-strength="medium"] .password-strength-meter__fill {
    background: #facc15;
    transform: scaleX(0.66);
}

.password-strength-meter[data-strength="strong"] .password-strength-meter__fill {
    background: #35cc58;
    transform: scaleX(1);
}

.password-strength-meter__label {
    font-weight: 600;
}

.password-requirements {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
    display: grid;
    gap: 0.35rem;
}

.password-requirements span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.password-requirements span::before {
    content: "•";
    display: inline-block;
    color: #35cc58;
}

.password-requirements span.password-requirement--invalid::before {
    color: #ef4444;
}

.form-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 1.25rem;
}

.login-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(17, 17, 17, 0.59), rgba(17, 47, 11, 0.89)), rgba(96, 96, 96, 0.54);
    backdrop-filter: blur(1px);
    pointer-events: none;
}

.login-right-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 750px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 3.25rem;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.12);
}

.login-hero-emblem {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    margin-bottom: 1.75rem;
}

.login-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.login-hero-title span {
    color: #35cc58;
}

.login-hero-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(51, 51, 51, 0.75);
}

.login-hero-list {
    list-style: none;
    margin: 1.5rem 0 2.5rem;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    color: rgba(51, 51, 51, 0.85);
    font-size: 1rem;
}

.login-hero-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.login-hero-list i {
    color: #35cc58;
}

.login-social {
    display: inline-flex;
    gap: 0.9rem;
}

.login-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(53, 204, 88, 0.12);
    color: #333333;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 1.1rem;
}

.login-social a:hover {
    background: rgba(53, 204, 88, 0.25);
    transform: translateY(-2px);
}

.login-social i {
    font-size: 1.1rem;
    line-height: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        padding: 2.5rem 1.75rem;
        width: 100%;
    }

    .login-right {
        order: -1;
    }

    .login-right-content {
        padding: 2.5rem;
    }
}

@media (max-width: 640px) {
    .login-card {
        padding: 2.25rem 1.75rem;
    }

    .login-right-content {
        padding: 2rem 1.75rem;
    }

    .login-hero-title {
        font-size: 1.85rem;
    }

    .login-form-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .login-social a {
        width: 40px;
        height: 40px;
    }
}

