﻿:root {
    --brand: #3FBAC2;
    --brand-hover: #283593;
    --card-border: rgba(229, 231, 235, .5);
    --bg: #F5F5F4;
    --ring: rgba(63, 186, 194, .40);
}

/* خلفية عامة */
body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: #2E2E2E;
}

/* الخلفيات الزخرفية */
.orb-1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(128, 128, 128, .08), transparent 70%);
    animation: pulse 10s infinite ease-in-out;
    z-index: 0;
}

.orb-2 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(128, 128, 128, .06), transparent 70%);
    animation: pulse 12s infinite ease-in-out alternate;
    z-index: 0;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.2)
    }
}

/* الكرت */
.lm-card {
    background: rgba(255, 255, 255, .70);
    backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    /* ≈ rounded-2xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .10), 0 10px 10px -5px rgba(0, 0, 0, .04);
}

/* تبويب شكلي واحد (Email) */
.tab-link {
    white-space: nowrap;
    padding: .9rem .25rem;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    color: #6b7280;
}

.tab-active {
    color: var(--brand);
    border-color: var(--brand);
}

/* مدخلات بنفس القياس 44px وظل خفيف */
.lm-input {
    display: block;
    width: 100%;
    height: 44px;
    border-radius: .5rem;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    padding: .75rem .75rem .75rem 2.5rem;
    /* مساحة للأيقونة يسار */
}

.lm-input::placeholder {
    color: #9ca3af;
}

.lm-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 2px var(--ring);
}

/* زر الدخول (رمادي عند التعطيل ثم أزرق عند الجاهزية) */
.login-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: .75rem;
    font-weight: 600;
    color: #fff;
    background: #9CA3AF;
    transition: background .15s ease;
}

.login-btn.enabled {
    background: var(--brand);
    cursor: pointer;
}

.login-btn.enabled:hover {
    background: var(--brand-hover);
}

/* زر/أيقونة إظهار كلمة السر */
.pwd-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-right: .75rem;
    color: #9ca3af;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.pwd-toggle:hover {
    color: #4b5563;
}

/* تذييل Remember me */
.footer-strip {
    padding: 1rem 2rem;
    background: #f9fafb;
    border-top: 1px solid var(--card-border);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* ===== هوية بسيطة وثابتة ===== */
:root {
    --brand: #3FBAC2;
    --brand-hover: #283593;
    --ink: #2E2E2E;
    --card-bd: #e5e7eb;
    /* gray-200 */
}

/* خطوط عامة */
body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* صندوق زجاجي + ظل قوي */
.lm-card {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-bd);
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

/* مدخلات ناعمة h-14 مع فوكس ملوّن */
.soft-input {
    background-color: #f3f4f6;
    /* gray-100 */
    border: 2px solid #e5e7eb;
    /* gray-200 */
    border-radius: .75rem;
    /* rounded-xl */
    height: 3.5rem;
    /* h-14 */
    padding: 0 1rem;
    transition: all .2s ease;
}

.soft-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(11, 92, 171, .15);
    background-color: #fff;
}

/* أزرار */
.btn-primary-solid {
    height: 3.5rem;
    border-radius: .75rem;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    transition: transform .15s ease, background .2s ease;
}

.btn-primary-solid:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
}

.btn-primary-outline {
    height: 3.5rem;
    border-radius: .75rem;
    border: 2px solid var(--brand);
    color: var(--brand);
    background: #fff;
    font-weight: 700;
    transition: transform .15s ease, background .2s ease, color .2s ease;
}

.btn-primary-outline:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-1px);
}

/* Divider ناعم + Caption للخطوة */
.hr-soft {
    border-color: #e5e7eb;
}

.step-caption {
    text-align: center;
    font-size: .75rem;
    /* text-sm أصغر بقليل */
    font-weight: 600;
    letter-spacing: .08em;
    color: #6b7280;
    /* gray-500 */
}

/* Dropzone */
.dropzone {
    border: 2px dashed #d1d5db;
    /* gray-300 */
    border-radius: .75rem;
    background: #f9fafb;
    /* gray-50 */
    padding: 1.25rem;
    text-align: center;
}

/* ===== خلفيات Blobs المتحركة ===== */
.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: -2s;
}

.animation-delay-4000 {
    animation-delay: -4s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}