/* public_html/assets/css/admin-auth.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #f1f5f9;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    /* Default Theme (Official) */
    --theme-primary: #2563EB;
    --theme-primary-hover: #1d4ed8;
    --theme-glow: rgba(37, 99, 235, 0.4);
    --blob-1: #3b82f6;
    --blob-2: #0ea5e9;
}

/* Super Admin Theme Override */
body.theme-super {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.85);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --theme-primary: #7C3AED;
    --theme-primary-hover: #6d28d9;
    --theme-glow: rgba(124, 58, 237, 0.5);
    --blob-1: #8b5cf6;
    --blob-2: #c084fc;
}

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;
    transition: background-color 0.5s ease, color 0.5s ease;
    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.5;
    animation: float 10s infinite alternate ease-in-out;
    transition: background-color 0.5s ease;
}

.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.15);
    transition: all 0.5s ease;
}

/* Modern Sliding Toggle */
.auth-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    position: relative;
    margin-bottom: 2.5rem;
    padding: 5px;
}

body.theme-super .auth-toggle {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    color: var(--text-muted);
}

.toggle-btn.active { color: #fff; }

.toggle-slider {
    position: absolute;
    top: 5px; left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background: var(--theme-primary);
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.5s ease;
    z-index: 1;
    box-shadow: 0 4px 10px var(--theme-glow);
}

/* Form Elements */
.form-control {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

body.theme-super .form-control {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.01);
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px var(--theme-glow);
    outline: none;
}

body.theme-super .form-control:focus { 
    background: rgba(255, 255, 255, 0.02); 
}

.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 10px 20px var(--theme-glow);
    cursor: pointer;
}

.btn-auth:hover {
    background: var(--theme-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px var(--theme-glow);
}

.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: 500; 
}

/* =========================================================
   THE HIDDEN EXECUTIVE PATH (EASTER EGG)
   ========================================================= */
.executive-hidden-key {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: var(--text-muted);
    opacity: 0.15; /* Almost invisible */
    font-size: 1.2rem;
    transition: all 0.4s ease;
    z-index: 9999;
    text-decoration: none;
}

.executive-hidden-key:hover {
    opacity: 1;
    color: #d4af37; /* Executive Gold */
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}