/* public_html/assets/css/auth.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* System Gateway (Staff) - Deep Slate & Corporate Blue */
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.85);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --theme-primary: #3b82f6;
    --theme-primary-hover: #2563eb;
    --theme-glow: rgba(59, 130, 246, 0.4);
    --blob-1: #1e3a8a;
    --blob-2: #312e81;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-focus: rgba(255, 255, 255, 0.08);
}

body.theme-client {
    /* Client Gateway - Premium Light & Cyan */
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --theme-primary: #0ea5e9;
    --theme-primary-hover: #0284c7;
    --theme-glow: rgba(14, 165, 233, 0.3);
    --blob-1: #bae6fd;
    --blob-2: #e0f2fe;
    --input-bg: rgba(0, 0, 0, 0.03);
    --input-focus: rgba(0, 0, 0, 0.01);
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    position: relative; 
    margin: 0; 
}

/* Floating Background Blobs */
.auth-bg-shapes { position: absolute; width: 100vw; height: 100vh; top: 0; left: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: float 10s infinite alternate ease-in-out; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--blob-1); }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; background: var(--blob-2); animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Glass Card Container */
.auth-container { position: relative; z-index: 10; width: 100%; max-width: 450px; padding: 20px; }
.auth-card { 
    background: var(--card-bg); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 24px; 
    padding: 3rem 2.5rem; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
}

body.theme-client .auth-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-control { 
    background: var(--input-bg); 
    border: 1px solid transparent; 
    border-radius: 12px; 
    padding: 14px 20px; 
    color: var(--text-main); 
    font-size: 0.95rem; 
    transition: all 0.3s ease; 
}
.form-control:focus { 
    background: var(--input-focus); 
    border-color: var(--theme-primary); 
    box-shadow: 0 0 0 4px var(--theme-glow); 
    color: var(--text-main);
    outline: none; 
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }

.form-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; display: block; }

.btn-auth { 
    background: var(--theme-primary); 
    color: #fff; 
    border: none; 
    border-radius: 12px; 
    padding: 14px; 
    font-weight: 700; 
    width: 100%; 
    transition: all 0.3s ease; 
    box-shadow: 0 8px 20px var(--theme-glow); 
    cursor: pointer; 
}
.btn-auth:hover { 
    background: var(--theme-primary-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 12px 25px var(--theme-glow); 
    color: #fff;
}

.password-toggle { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); cursor: pointer; border: none; background: none; padding: 0; }

.custom-alert { border-radius: 12px; padding: 15px; font-weight: 600; }

.executive-hidden-key { position: fixed; bottom: 20px; right: 20px; color: var(--text-muted); opacity: 0.15; font-size: 1.2rem; transition: all 0.4s ease; z-index: 9999; text-decoration: none; }
.executive-hidden-key:hover { opacity: 1; color: #d4af37; transform: scale(1.2); text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }