@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    background-image: 
        radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar Custom */
.navbar-custom {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Table Custom */
.table-custom {
    color: var(--text-color);
    margin-bottom: 0;
}

.table-custom th {
    background-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 600;
    padding: 1rem;
}

.table-custom td {
    background-color: transparent;
    color: var(--text-color);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem;
    vertical-align: middle;
}

.table-custom tbody tr {
    transition: background-color 0.2s ease;
}

.table-custom tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-outline-custom {
    background-color: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-action {
    border-radius: 6px;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-warning-custom {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.btn-warning-custom:hover {
    background-color: var(--warning-color);
    color: white;
}

.btn-danger-custom {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger-custom:hover {
    background-color: var(--danger-color);
    color: white;
}

/* Forms */
.form-control-custom {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control-custom:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
    color: white;
}

.form-label {
    color: #cbd5e1;
    font-weight: 500;
}

/* Card overrides for forms */
.card-custom {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.card-custom .card-header {
    background: transparent;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem;
}

.card-custom .card-body {
    padding: 2rem;
}

.text-gradient {
    background: linear-gradient(to right, #f8fafc, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
