/* \static\css\auth.css */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

*, *:before, *:after, html, body, input, button, select, textarea {
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif !important;
}

body {
    font-family: 'Cairo', sans-serif !important;
    background-color: #0A0516;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* 1. النصوص الأساسية والعناوين البارزة (Primary Headings & Bold Text: #FFFFFF) */
h1, h2, h3, h4, h5, h6, .text-primary-headline, strong, b {
    font-family: 'Cairo', sans-serif !important;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-weight: 800; }
h2 { font-weight: 750; }
h3 { font-weight: 700; }

/* 2. النصوص الفرعية والمحتوى الثانوي (Secondary & Body Text: #A1A1AA) */
p, .text-secondary-desc, .text-subtitle, .text-desc, .text-muted-content, small, span.text-secondary, label {
    font-family: 'Cairo', sans-serif !important;
    color: #A1A1AA;
    font-weight: 400;
    line-height: 1.6;
}

/* 3. التدرج اللوني الأساسي (FocusFlow Gradient: #00F2FE → #A100FF) */
.brand-gradient-text, .text-gradient {
    background: linear-gradient(135deg, #00F2FE 0%, #A100FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.glow-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 0;
    pointer-events: none;
}

.glow-cyan {
    top: -10%; 
    left: -10%;
    width: min(350px, 50vw); 
    height: min(350px, 50vw);
    background-color: #00F2FE;
    opacity: 0.15;
}

.glow-purple {
    bottom: -10%; 
    right: -10%;
    width: min(400px, 50vw); 
    height: min(400px, 50vw);
    background-color: #A100FF;
    opacity: 0.15;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    padding: 32px 24px;
    border-radius: 24px;
    box-sizing: border-box;
    margin: auto;
}

.input-field {
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: #00F2FE;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
    background: rgba(31, 41, 55, 0.6);
}

/* التجاوب مع الأجهزة اللوحية والشاشات المتوسطة */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .glass-panel {
        padding: 28px 20px;
        max-width: 100%;
    }
}

/* التجاوب مع الهواتف الذكية والصغيرة */
@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .glass-panel {
        padding: 20px 16px;
        border-radius: 18px;
    }
}