/*
:root {
    --dark-bg: #1a1d20;
    --dark-card-bg: #2d3238;
    --dark-border: #3d4248;
    --dark-text: #e9ecef;
    --dark-text-muted: #adb5bd;
    --dark-primary: #0d6efd;
    --dark-success: #198754;
    --dark-danger: #dc3545;
    --dark-warning: #ffc107;
    --dark-info: #0dcaf0;
}

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.card {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: var(--dark-border);
}

.table {
    color: var(--dark-text);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.2);
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.table th {
    background-color: var(--dark-card-bg) !important;
    border-bottom-color: var(--dark-border);
}

.table td {
    border-color: var(--dark-border);
}

.form-control, .form-select {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border);
    color: var(--dark-text);
}

.form-control:focus, .form-select:focus {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-primary);
    color: var(--dark-text);
}

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

.form-label {
    color: var(--dark-text);
}

.btn-outline-secondary {
    color: var(--dark-text);
    border-color: var(--dark-border);
}

.btn-outline-secondary:hover {
    background-color: var(--dark-border);
    color: var(--dark-text);
}

.modal-content {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border);
}

.modal-header {
    border-bottom-color: var(--dark-border);
}

.modal-footer {
    border-top-color: var(--dark-border);
}

.navbar {
    background-color: var(--dark-card-bg) !important;
    border-bottom: 1px solid var(--dark-border);
}

.navbar-brand, .nav-link {
    color: var(--dark-text) !important;
}

.nav-link:hover {
    color: var(--dark-primary) !important;
}

.dropdown-menu {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border);
}

.dropdown-item {
    color: var(--dark-text);
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--dark-text);
}

.info-section {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--dark-border);
}

.info-section h3 {
    color: var(--dark-primary);
    border-bottom-color: var(--dark-border);
}

.info-label {
    color: var(--dark-text-muted);
}

.status-badge {
    background-color: rgba(0, 0, 0, 0.2);
}

.status-zavrseno {
    background-color: rgba(25, 135, 84, 0.2);
    color: #75b798;
}

.status-predstoji {
    background-color: rgba(13, 202, 240, 0.2);
    color: #6edff6;
}

.status-nerasporedjeno {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffda6a;
}

.status-arhivirano {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ea868f;
}

.status-na-cekanju {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffda6a;
}

.status-odbijeno {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ea868f;
}

.status-obrisano {
    background-color: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
}

.status-select {
    background-color: transparent;
    color: inherit;
}

.status-select option {
    background-color: var(--dark-card-bg);
    color: var(--dark-text);
}

.alert {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border);
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.2);
    border-color: #198754;
    color: #75b798;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    color: #ea868f;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    color: #ffda6a;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.2);
    border-color: #0dcaf0;
    color: #6edff6;
}


.table-container {
    overflow-x: auto;
    margin: 0 -15px;
    padding: 0 15px;
}

.table {
    min-width: 1000px;
}

.table th {
    position: sticky;
    top: 0;
    background: var(--dark-card-bg) !important;
    z-index: 1;
}

.datetime-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.datetime-cell .date {
    font-weight: 500;
}

.datetime-cell .time {
    font-size: 0.9em;
    color: var(--dark-text-muted);
}

.ride-card {
    height: 100%;
    transition: transform 0.2s;
}

.ride-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ride-card .card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid var(--dark-border);
}

.ride-card .card-body {
    padding: 1.25rem;
}

.ride-info {
    margin-bottom: 0.5rem;
}

.ride-info i {
    width: 20px;
    color: var(--dark-text-muted);
}
*/
.ride-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.status-upcoming {
    background-color: rgba(13, 202, 240, 0.2);
    color: #6edff6;
}

.status-today {
    background-color: rgba(25, 135, 84, 0.2);
    color: #75b798;
}

.status-past {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ea868f;
}

table td {
    vertical-align: middle;
}