﻿:root {
    --brand-900: #0f172a;
    --brand-800: #1e293b;
    --brand-700: #334155;
    --brand-600: #475569;
    --brand-500: #64748b;
    --accent: #4f46e5;
    --accent-2: #7c3aed;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(circle at 12% 18%, rgba(79, 70, 229, .12), transparent 18%), radial-gradient(circle at 82% 12%, rgba(6, 182, 212, .10), transparent 16%), linear-gradient(135deg, #f8fbff 0%, #eef2ff 38%, #f8fafc 100%);
}

.authentication-wrapper {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .authentication-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
        pointer-events: none;
    }

.auth-shell {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

.auth-card {
    border-radius: 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.auth-left {
    padding: 48px 42px;
    position: relative;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(124, 58, 237, .10));
    border: 1px solid rgba(79, 70, 229, .18);
    box-shadow: 0 12px 24px rgba(79, 70, 229, .10);
    margin-bottom: 18px;
}

.auth-title {
    font-size: 2.15rem;
    font-weight: 900;
    color: var(--brand-700);
    line-height: 1.55;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--brand-500);
    font-size: 1rem;
    margin-bottom: 28px;
}

.auth-form-label {
    color: var(--brand-600);
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: 8px;
}

.auth-input {
    border-radius: 16px !important;
    border: 1px solid #d7e0ee !important;
    min-height: 52px;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .auth-input::placeholder {
        color: #94a3b8;
    }

    .auth-input:focus {
        border-color: rgba(79, 70, 229, .55) !important;
        box-shadow: 0 0 0 4px rgba(79, 70, 229, .10) !important;
    }

.auth-btn {
    border-radius: 16px;
    min-height: 52px;
    font-weight: 900;
    letter-spacing: .2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    border: none;
    box-shadow: 0 16px 28px rgba(79, 70, 229, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .auth-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 30px rgba(79, 70, 229, .28);
    }

.auth-register-btn {
    border-radius: 16px;
    min-height: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff5a5f 0%, var(--danger) 100%);
    border: none;
    box-shadow: 0 16px 28px rgba(239, 68, 68, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .auth-register-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 30px rgba(239, 68, 68, .28);
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        height: 1px;
        flex: 1;
        background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, .45), rgba(148, 163, 184, 0));
    }

.contact-box {
    background: linear-gradient(180deg, rgba(248, 250, 252, .88), rgba(241, 245, 249, .88));
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 18px;
    padding: 16px 18px;
}

.contact-title {
    color: var(--brand-600);
    font-weight: 800;
    margin-bottom: 10px;
    font-size: .95rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: center;
    align-items: center;
    font-size: .95rem;
}

    .contact-links a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 800;
    }

        .contact-links a:hover {
            text-decoration: underline;
        }

.auth-enamad {
    margin-top: 18px;
}

    .auth-enamad img {
        max-width: 126px;
        height: auto;
    }

.auth-side {
    position: relative;
    background: linear-gradient(160deg, #dbeafe 0%, #eef2ff 32%, #f8fafc 100%);
    padding: 34px 30px;
    overflow: hidden;
}

.auth-side-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-frame {
    width: 100%;
    max-width: 610px;
    padding: 16px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}

.auth-illustration {
    width: 100%;
    border-radius: 18px;
    display: block;
    object-fit: cover;
}

.auth-caption {
    margin-top: 28px;
    font-weight: 900;
    font-size: 1.22rem;
    color: var(--brand-700);
    line-height: 1.7;
}

    .auth-caption small {
        display: block;
        margin-top: 8px;
        font-weight: 700;
        color: var(--brand-500);
        font-size: .95rem;
    }

@media (max-width: 991.98px) {
    .auth-left {
        padding: 34px 22px;
    }

    .auth-title {
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
