/* Dark Blue Hacker Admin Panel */
body {
    background: linear-gradient(135deg, #0a0e27, #16213e);
    font-family: 'Consolas', 'Monaco', monospace;
    color: #e0e6ed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Login Page Styling */
.login-container {
    background: rgba(10, 14, 39, 0.95);
    border: 1px solid #2d3748;
    backdrop-filter: blur(10px);
}

.login-card {
    background: linear-gradient(145deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #0f172a, #1e293b) !important;
    border-bottom: 1px solid #334155;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 600;
    color: #00ff88 !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Cards */
.card {
    background: linear-gradient(145deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #00ff88;
}

.card-header {
    background: linear-gradient(90deg, #0f172a, #1e293b) !important;
    border-bottom: 1px solid #4a5568;
    color: #00ff88 !important;
}

.card-body {
    background: transparent;
}

/* Statistics Cards */
.bg-primary {
    background: linear-gradient(135deg, #1e40af, #3730a3) !important;
}

.bg-success {
    background: linear-gradient(135deg, #059669, #047857) !important;
}

.bg-info {
    background: linear-gradient(135deg, #0891b2, #0e7490) !important;
}

.bg-warning {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Consolas', monospace;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    border: 1px solid #1e40af;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00ff88, #10b981);
    border-color: #00ff88;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: 1px solid #dc2626;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 1px solid #f59e0b;
    color: #1f2937;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border: 1px solid #0891b2;
}

.btn-info:hover {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

/* Table */
.table {
    color: #e0e6ed;
    background: transparent;
}

.table th {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    color: #00ff88;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-color: #4a5568;
}

.table td {
    background: rgba(26, 32, 44, 0.5);
    border-color: #4a5568;
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

.table-hover tbody tr:hover {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

/* Scrollable container for table */
.table-container {
    max-height: 500px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #4a5568;
}

.table-container::-webkit-scrollbar {
    width: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #1a202c;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #00ff88;
}

/* Code styling */
code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-weight: 600;
    color: #00ff88;
    border: 1px solid #4a5568;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-family: 'Consolas', monospace;
}

.badge.bg-success {
    background: linear-gradient(45deg, #059669, #047857) !important;
    color: white;
}

.badge.bg-secondary {
    background: linear-gradient(45deg, #6b7280, #4b5563) !important;
    color: white;
}

.badge.bg-warning {
    background: linear-gradient(45deg, #f59e0b, #d97706) !important;
    color: #1f2937;
}

/* Modal */
.modal-content {
    background: linear-gradient(145deg, #1a202c, #2d3748);
    border: 1px solid #4a5568;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
    border-bottom: 1px solid #4a5568;
    background: linear-gradient(90deg, #0f172a, #1e293b);
}

.modal-title {
    color: #00ff88;
}

.modal-body {
    background: transparent;
}

/* Form Controls */
.form-control, .form-select {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid #4a5568;
    border-radius: 6px;
    color: #e0e6ed;
    font-family: 'Consolas', monospace;
}

.form-control:focus, .form-select:focus {
    background: rgba(26, 32, 44, 0.9);
    border-color: #00ff88;
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 136, 0.25);
    color: #e0e6ed;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-label {
    color: #e0e6ed;
    font-weight: 500;
    font-family: 'Consolas', monospace;
}

.form-text {
    color: #9ca3af;
    font-family: 'Consolas', monospace;
    font-size: 0.875rem;
}

/* Alert */
.alert-danger {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid #dc2626;
    color: #fca5a5;
}

/* Animation for loading states */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .table-container {
        max-height: 400px;
    }
}

/* No scroll for main page */
.main-container {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Glowing effects */
.glow-green {
    color: #00ff88;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.btn-close {
    filter: invert(1);
}

/* Custom checkbox/select styling */
option {
    background: #1a202c;
    color: #e0e6ed;
}