/* ===== ASCENSUS - Futuristic Design System (Dark Tech) ===== */

:root {
    /* Futuristic Dark Palette */
    --bg-dark: #050a14;
    --bg-card: rgba(20, 30, 50, 0.6);
    --bg-card-hover: rgba(30, 45, 70, 0.8);

    /* Neon Accents */
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-green: #0aff60;
    --neon-red: #ff3b3b;
    --neon-orange: #ffae00;

    /* Text */
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --text-inverse: #050a14;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;

    /* Borders & Glows */
    --border-glow: rgba(0, 243, 255, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 243, 255, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.08) 0%, transparent 40%);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.7rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
    }

    h4 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem !important;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }
}

/* ===== Glass Utilities ===== */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
    background: #4dffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(255, 59, 59, 0.1);
    color: var(--neon-red);
    border: 1px solid rgba(255, 59, 59, 0.2);
}

.btn-danger:hover {
    background: rgba(255, 59, 59, 0.2);
    box-shadow: 0 0 15px rgba(255, 59, 59, 0.2);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* ===== Inputs ===== */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: all var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Badge Utilities ===== */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.status-active {
    background: rgba(10, 255, 96, 0.1);
    color: var(--neon-green);
    border: 1px solid rgba(10, 255, 96, 0.3);
}

.status-inactive {
    background: rgba(255, 59, 59, 0.1);
    color: var(--neon-red);
    border: 1px solid rgba(255, 59, 59, 0.3);
}

/* ===== Utilities ===== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 20px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    /* Make buttons stack properly on small screens if they are in flex containers */
    .btn-group,
    .action-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Ensure horizontal scroll works on mobile */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        height: 6px;
    }
}