/* --- EXISTING CSS (ROOT & BASE) --- */
:root {
    --bg: #0f172a;
    --glass: rgba(255, 255, 255, 0.05);
    --primary: #6366f1;
    --accent: #f43f5e;
    --success: #22c55e;
}

body {
    margin: 0; font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    color: #f8fafc; min-height: 100vh;
}

.glass {
    background: var(--glass); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 15px;
    padding: 25px; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

nav {
    padding: 20px 50px; display: flex; justify-content: space-between;
    background: rgba(15, 23, 42, 0.8); border-bottom: 1px solid var(--glass);
}

.logo { font-size: 24px; font-weight: bold; color: var(--primary); letter-spacing: 2px; }

input, textarea, select {
    width: 100%; padding: 12px; margin: 10px 0; background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass); color: white; border-radius: 8px; box-sizing: border-box;
}

.btn {
    padding: 12px 25px; border: none; border-radius: 8px; cursor: pointer;
    font-weight: 600; transition: 0.3s; text-decoration: none; display: inline-block;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #4f46e5; transform: translateY(-2px); }

table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th { text-align: left; padding: 15px; background: rgba(255,255,255,0.05); color: var(--primary); }
td { padding: 15px; border-bottom: 1px solid var(--glass); }

.badge { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.badge-green { background: var(--success); color: white; }
.badge-red { background: var(--accent); color: white; }

/* --- NEW MODERN POPUP STYLES (SweetAlert Customization) --- */
.swal2-popup {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    color: #f8fafc !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6) !important;
}

.swal2-title {
    color: var(--primary) !important;
    font-family: 'Poppins', sans-serif !important;
}

.swal2-confirm {
    background-color: var(--primary) !important;
    border-radius: 8px !important;
    padding: 10px 30px !important;
    font-weight: 600 !important;
}

.swal2-cancel {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 8px !important;
}

.swal2-icon.swal2-success {
    border-color: var(--success) !important;
    color: var(--success) !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--success) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid rgba(34, 197, 94, .3) !important;
}