/* dcso_ui/tables.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0f0a1e;
    color: #f3f4f6;
    direction: rtl;
}

.dcso-gradient-bg {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 100%);
}

.dcso-sidebar {
    background: #1a0b2e;
    border-left: 1px solid rgba(255, 215, 0, 0.1);
}

.dcso-card {
    background: rgba(45, 27, 78, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dcso-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-2px);
}

.dcso-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.table-fixed-headers {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

.table-fixed-headers thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #1e1136;
    color: #ffd700;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.table-fixed-headers tbody td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.03);
    color: #cbd5e1;
    vertical-align: middle;
}

.table-fixed-headers tbody tr:hover {
    background: rgba(255, 215, 0, 0.04);
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    color: #1a0b2e;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.sidebar-link-active {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(45, 27, 78, 0.5) 100%);
    color: #ffd700 !important;
    border-right: 3px solid #ffd700;
}

/* Glassmorphism Input */
.dcso-input {
    background: rgba(26, 11, 46, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.1);
    color: white;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.dcso-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
    outline: none;
}


.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-danger {
    background: #ef4444;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.status-inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0b2e;
}

::-webkit-scrollbar-thumb {
    background: #2d1b4e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}

[x-cloak] {
    display: none !important;
}