:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --dark: #343a40;
    --light: #f8f9fa;
}

.sidebar-dark-primary {
    background-color: #343a40 !important;
}

.navbar-white {
    background-color: #ffffff !important;
}

.content-wrapper {
    background-color: #f4f6f9 !important;
}

.main-header {
    border-bottom: 1px solid #dee2e6 !important;
}

.brand-link {
    border-bottom: 1px solid #4b545c !important;
}

.info-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border-radius: .25rem;
}

.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    border: 0;
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,.125);
    background-color: #ffffff;
}

.table th {
    border-top: 0;
}

.btn {
    border-radius: .25rem;
}

.form-control {
    border-radius: .25rem;
}

/* Custom styles for our application */
.receipt {
    font-family: 'Courier New', monospace;
    border: 1px dashed #dee2e6;
    padding: 15px;
    background: #fff;
}

.vehicle-status {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-in {
    background: #d4edda;
    color: #155724;
}

.status-out {
    background: #f8d7da;
    color: #721c24;
}

.price-item {
    border-left: 4px solid;
    padding: 10px 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 4px;
}

.price-item.motor {
    border-left-color: #28a745;
}

.price-item.mobil {
    border-left-color: #007bff;
}

.small-box {
    border-radius: .25rem;
    position: relative;
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

.small-box > .inner {
    padding: 10px;
}

.small-box .icon {
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    font-size: 70px;
    color: rgba(0,0,0,.15);
}

.small-box:hover .icon {
    font-size: 75px;
}

.modal-receipt {
    font-family: 'Courier New', monospace;
}

.badge-success {
    background-color: #28a745 !important;
}

.badge-primary {
    background-color: #007bff !important;
}

.badge-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge-danger {
    background-color: #dc3545 !important;
}

.badge-info {
    background-color: #17a2b8 !important;
}

.badge-cancelled {
    background-color: #dc3545 !important;
}

.badge-expired {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.badge-active {
    background-color: #28a745 !important;
}

.badge-completed {
    background-color: #17a2b8 !important;
}

.table-sm th,
.table-sm td {
    padding: 0.5rem !important;
    font-size: 0.875rem;
}

.alert h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.btn-block {
    width: 100%;
}

.card-header h5.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.card-footer {
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125);
}

/* Custom styles for data vehicles section */
.search-box {
    position: relative;
}

.search-box .form-control {
    padding-right: 40px;
}

.search-box .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.action-buttons .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    margin-right: 5px;
}

#reservation-data-table tr:hover,
#vehicle-data-table tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

@media print {
    .no-print {
        display: none !important;
    }
    
    body * {
        visibility: hidden;
    }
    
    .modal, .modal * {
        visibility: visible;
    }
    
    .modal {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        min-height: 100%;
        width: 100%;
    }
}