/* ==========================================
   AUTH PAGES CSS (Sign In, Sign Up, Forgot Password)
   ========================================== */

:root {
    --site-bg: #ffffff;
    --site-sec-bg: #f8fafc;
    --site-text: #475569;
    --site-title: #0f172a;
    --border-color: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
    --site-bg: #0f172a;
    --site-sec-bg: #1e293b;
    --site-text: #94a3b8;
    --site-title: #f8fafc;
    --border-color: #334155;
    --shadow-color: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--site-sec-bg);
    color: var(--site-text);
    margin: 0;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    background: radial-gradient(circle at top left, var(--site-sec-bg) 0%, var(--site-bg) 100%);
}

.auth-card {
    background: var(--site-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--shadow-color);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    transition: 0.3s ease;
}


/* تعديل عرض كارت التسجيل فقط لأنه بيحتاج مساحة أكبر شوية */

form#signup-form {
    max-width: 500px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header i {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 15px;
}


/* مخصوص لنسيت الباسورد */

.auth-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--site-title);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--site-text);
    font-size: 0.95rem;
}


/* --- إصلاح حقول الإدخال --- */

.form-control-custom {
    background-color: var(--site-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--site-title) !important;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control-custom::placeholder {
    color: #94a3b8 !important;
    opacity: 0.9 !important;
}

[data-theme="dark"] .form-control-custom {
    background-color: var(--site-sec-bg) !important;
    color: #ffffff !important;
}

.form-control-custom:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15) !important;
    outline: none;
}

.form-label-custom {
    color: var(--site-text);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.btn-auth {
    background: linear-gradient(135deg, #0d6efd 0%, #2563eb 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
    transition: 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(13, 110, 253, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--site-text);
}

.auth-footer a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.auth-footer a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}