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

:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #161f30;
    --bg-glass: rgba(22, 31, 48, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --accent-blue: #00d2ff;
    --accent-purple: #9d4edd;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background-image: 
        radial-gradient(at 10% 20%, rgba(157, 78, 221, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(0, 210, 255, 0.12) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Glassmorphism Card style */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(0, 210, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.3);
}

/* Custom buttons */
.btn-grad {
    background-image: var(--accent-gradient);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.btn-grad:hover {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    color: white;
}

/* Inputs styling */
.form-control, .form-select {
    background-color: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-primary) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(11, 15, 25, 0.9);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Navigation bar */
.custom-navbar {
    background: rgba(11, 15, 25, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue) !important;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* Tables styling */
.table-custom {
    background: transparent;
    color: var(--text-primary);
}

.table-custom th {
    border-bottom: 2px solid var(--border-glass) !important;
    color: var(--accent-blue);
    font-weight: 600;
}

.table-custom td {
    border-bottom: 1px solid var(--border-glass) !important;
    vertical-align: middle;
    color: var(--text-secondary);
}

/* Badges */
.badge-seeker {
    background-color: rgba(157, 78, 221, 0.2);
    color: #c084fc;
    border: 1px solid rgba(157, 78, 221, 0.4);
}

.badge-provider {
    background-color: rgba(0, 210, 255, 0.2);
    color: #67e8f9;
    border: 1px solid rgba(0, 210, 255, 0.4);
}

.badge-active {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-blocked {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-blue);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sidebar structure */
.sidebar {
    min-height: calc(100vh - 56px);
    background: rgba(22, 31, 48, 0.4);
    border-right: 1px solid var(--border-glass);
}
