/* ========================================= */
/* REFINED TRON THEME - Clean & Professional */
/* ========================================= */

:root {
    --tron-blue: #4a9eff;
    --tron-blue-dim: #3d85d9;
    --tron-cyan: #5eb8d9;
    --tron-orange: #e06030;
    --tron-green: #40d9a0;
    --tron-dark: #0a0e15;
    --tron-darker: #050810;
}

/* Body */
.tron-body {
    background: linear-gradient(135deg, #0a0e15 0%, #050810 100%);
    color: #a8b8d8;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Subtle scan lines only */
.tron-scan-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(74, 158, 255, 0.008) 0px,
        transparent 2px
    );
    pointer-events: none;
}

/* Content wrapper */
.tron-content {
    position: relative;
    z-index: 10;
}

/* Navbar */
.tron-navbar {
    background: rgba(10, 14, 21, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--tron-blue-dim);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.tron-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--tron-cyan) !important;
    text-shadow: 0 0 15px rgba(94, 184, 217, 0.4);
}

.tron-nav-link {
    color: #8aa0c8 !important;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-weight: 500;
}

.tron-nav-link:hover {
    color: var(--tron-cyan) !important;
    background: rgba(74, 158, 255, 0.1) !important;
    box-shadow: 0 0 0 1px rgba(74, 158, 255, 0.3);
}

.tron-user-badge {
    background: rgba(224, 96, 48, 0.12) !important;
    border: 1px solid rgba(224, 96, 48, 0.4) !important;
    color: #ff9977 !important;
    padding: 6px 14px;
    font-weight: 500;
}

.tron-clock-badge {
    background: rgba(64, 217, 160, 0.12) !important;
    border: 1px solid rgba(64, 217, 160, 0.4) !important;
    color: var(--tron-green) !important;
    padding: 6px 14px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* Cards */
.tron-card {
    background: rgba(15, 20, 30, 0.75) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.25) !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.tron-card:hover {
    border-color: rgba(74, 158, 255, 0.4) !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.tron-card-header {
    background: rgba(74, 158, 255, 0.08) !important;
    border-bottom: 1px solid rgba(74, 158, 255, 0.25) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--tron-cyan) !important;
}

/* Form Controls */
.tron-input, .tron-select, .tron-textarea {
    background: rgba(10, 14, 21, 0.9) !important;
    border: 1px solid rgba(74, 158, 255, 0.3) !important;
    color: #c8d8f8 !important;
    transition: all 0.2s ease;
}

.tron-input:focus, .tron-select:focus, .tron-textarea:focus {
    background: rgba(10, 14, 21, 0.95) !important;
    border-color: var(--tron-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(74, 158, 255, 0.15) !important;
    color: #e8f0ff !important;
}

.tron-label {
    color: var(--tron-cyan) !important;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Buttons */
.btn-tron-primary {
    background: linear-gradient(135deg, var(--tron-blue) 0%, var(--tron-blue-dim) 100%) !important;
    border: 1px solid var(--tron-blue) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(74, 158, 255, 0.3);
    transition: all 0.2s ease;
}

.btn-tron-primary:hover {
    box-shadow: 0 4px 16px rgba(74, 158, 255, 0.45);
    transform: translateY(-1px);
}

.btn-tron-success {
    background: linear-gradient(135deg, var(--tron-green) 0%, #30c090 100%) !important;
    border: 1px solid var(--tron-green) !important;
    color: #000 !important;
    font-weight: 600;
}

.btn-tron-danger {
    background: linear-gradient(135deg, var(--tron-orange) 0%, #c85028 100%) !important;
    border: 1px solid var(--tron-orange) !important;
    color: #fff !important;
    font-weight: 600;
}

/* Tables */
.tron-table {
    color: #a8b8d8 !important;
}

.tron-table thead th {
    background: rgba(10, 14, 21, 0.95) !important;
    color: var(--tron-cyan) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    border-bottom: 2px solid rgba(74, 158, 255, 0.4) !important;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.tron-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(74, 158, 255, 0.1) !important;
    cursor: pointer;
}

.tron-table tbody tr:hover {
    background: rgba(74, 158, 255, 0.08) !important;
}

.tron-table tbody tr.table-active {
    background: rgba(74, 158, 255, 0.12) !important;
}

/* Expandable Row (Drawer) */
.tron-drawer {
    background: rgba(5, 8, 16, 0.95) !important;
    border-left: 3px solid var(--tron-blue);
}

.tron-drawer-header {
    color: var(--tron-cyan);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(74, 158, 255, 0.3);
}

/* Rectify Items */
.rectify-item {
    background: rgba(74, 158, 255, 0.04);
    border-left: 3px solid rgba(74, 158, 255, 0.4);
    padding: 12px 16px;
    margin-bottom: 12px;
    border-radius: 0 4px 4px 0;
}

.rectify-item.completed {
    opacity: 0.5;
    border-left-color: rgba(64, 217, 160, 0.4);
}

.rectify-meta {
    font-size: 0.85rem;
    color: #7a8aa8;
    margin-top: 8px;
}

.rectify-form {
    background: rgba(74, 158, 255, 0.05);
    border: 1px solid rgba(74, 158, 255, 0.25);
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
}

/* Alerts */
.tron-alert {
    background: rgba(15, 20, 30, 0.9) !important;
    backdrop-filter: blur(8px);
    border-left-width: 4px !important;
    border-radius: 0 4px 4px 0 !important;
}

.alert-success {
    border-color: var(--tron-green) !important;
    color: #80e9c0 !important;
}

.alert-danger {
    border-color: var(--tron-orange) !important;
    color: #ff9977 !important;
}

/* Badges */
.badge-tron {
    background: rgba(74, 158, 255, 0.2);
    color: var(--tron-cyan);
    border: 1px solid rgba(74, 158, 255, 0.4);
    padding: 4px 10px;
    font-weight: 500;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 21, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 158, 255, 0.6);
}

/* Responsive Container - Updated widths */
.tron-container {
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

.tron-container-full {
    max-width: 950%;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 1400px) {
    .tron-container {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .tron-container {
        width: 95%;
    }
    
    .tron-container-full {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .tron-container {
        width: 100%;
    }
    
    .tron-container-full {
        width: 100%;
    }
    
    .tron-logo {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
    }
}

/* Utility Classes */
.text-tron-cyan {
    color: var(--tron-cyan) !important;
}

.text-tron-blue {
    color: var(--tron-blue) !important;
}

.text-tron-orange {
    color: var(--tron-orange) !important;
}

.text-tron-green {
    color: var(--tron-green) !important;
}
