/* === NOVEXA AGI Global Enterprise Theme === */
:root {
    --primary-blue: #8cb0ff;        /* Premium Blue */
    --light-blue: #a3c3ff;          /* Light Blue Accent */
    --bg-color: #05080f;            /* Deep Space Blue */
    --glass-bg: rgba(12, 15, 26, 0.82);
    --glass-border: 1px solid rgba(77, 138, 255, 0.2);
    --container-bg: rgba(12, 15, 26, 0.82);
    --border-color: rgba(77, 138, 255, 0.25);
    --text-color: #e1e1e1;
    --heading-color: #ffffff;
    --text-muted: #b0bec5;
    --input-bg: rgba(0, 0, 0, 0.5);
    --shadow-color: rgba(77, 138, 255, 0.2);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #05080f 0%, #0a1628 50%, #05080f 100%);
    background-attachment: fixed;
    color: var(--text-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Common Layouts === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* === Glassmorphism Card (Used for Login & Dashboards) === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* === Logo Styling === */
.app-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* === Inputs & Buttons === */
input, select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #333;
    background: var(--input-bg);
    color: white;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(140, 176, 255, 0.4);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #6b8dd9, var(--primary-blue));
    color: #05080f;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(140, 176, 255, 0.5);
}

.btn-danger {
    background: #c62828;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* === Utilities === */
.hidden { display: none; }
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; align-items: center; height: 100%; }
.error-msg { color: #ff5252; font-size: 0.9rem; margin-top: 10px; }
