body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Slate 900 equivalent */
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Ambient Background Blobs */
.ambient-blob {
    position: fixed;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}
.blob-1 { top: -10%; left: -10%; background-color: #4f46e5; }
.blob-2 { bottom: -10%; right: -10%; background-color: #9333ea; }

/* Glassmorphism Card */
.glass-card {
    background-color: rgba(30, 41, 59, 0.8); /* Slate 800 with opacity */
    backdrop-filter: blur(24px);
    border: 1px solid rgba(51, 65, 85, 1);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 100%;
}

/* Custom Input Styling to match the dark theme */
.form-control, .input-group-text {
    background-color: rgba(2, 6, 23, 0.5) !important; /* Darker slate */
    border-color: #334155 !important;
    color: #f8fafc !important;
}
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
    border-color: #6366f1 !important;
}
.input-group-text {
    border-right: none;
}
.form-control {
    border-left: none;
}

/* Animations */
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Utility overrides */
.text-indigo { color: #818cf8; }
.bg-indigo-subtle { background-color: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); }

/* Button Group Styling */
.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-outline-indigo {
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.5);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-outline-indigo:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: #818cf8;
    color: #818cf8;
}

.btn-check:checked + .btn-outline-indigo {
    background-color: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    color: #818cf8;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Admin Panel Styles */
.btn-indigo {
    background-color: #6366f1;
    border-color: #6366f1;
    color: white;
}

.btn-indigo:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.border-indigo {
    border-color: #6366f1 !important;
}

.text-success {
    color: #22c55e !important;
}

/* CSP-compliant styling classes */
.glass-card-large {
    max-width: 900px;
}

.header-bg {
    background-color: rgba(2, 6, 23, 0.3);
}

.icon-sm {
    width: 16px;
}

.icon-btn-sm {
    width: 14px;
}

.icon-md {
    width: 18px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.label-form-small {
    font-size: 0.75rem;
}

.bg-indigo-section {
    background-color: rgba(99, 102, 241, 0.1);
}

.bg-info-section {
    background-color: rgba(6, 182, 212, 0.1);
}

.bg-dark-section {
    background-color: rgba(2, 6, 23, 0.5);
}

.input-group-indigo {
    border-color: #6366f1;
}

.font-monospace {
    font-family: monospace;
}

.container-scroll-lg {
    max-height: 400px;
    overflow-y: auto;
}

.container-scroll-xl {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.table-scroll {
    overflow-x: auto;
}

.text-width-30 {
    width: 30%;
}

.text-width-25 {
    width: 25%;
}

.text-width-20 {
    width: 20%;
}

.text-align-center {
    text-align: center;
}

.table-border-subtle {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-success-section {
    background-color: rgba(34, 197, 94, 0.1);
}

.table-scroll-section {
    background-color: rgba(2, 6, 23, 0.5);
    overflow-x: auto;
}