body {
    background-color: #f5f5f5;
    font-size: 0.9rem;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.btn-sm {
    font-size: 0.8rem;
}

.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.stat-card {
    transition: transform 0.2s;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    font-size: 2rem;
    opacity: 0.3;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-box {
    min-width: 250px;
}

.status-open { color: #0d6efd; }
.status-in_progress { color: #ffc107; }
.status-waiting_parts { color: #fd7e14; }
.status-completed { color: #198754; }
.status-delivered { color: #0dcaf0; }
.status-cancelled { color: #dc3545; }

@media print {
    .navbar, .btn, .no-print { display: none !important; }
    .card { box-shadow: none; border: 1px solid #ddd; }
    body { background: white; }
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.login-card .card-body {
    padding: 2.5rem;
}

.login-logo {
    font-size: 3rem;
    color: #667eea;
}

.flatpickr-input {
    background-color: #fff !important;
}

.page-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.page-title i {
    color: #667eea;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1rem;
    font-weight: 500;
}

.table-hover tbody tr:hover {
    background-color: #f0f4ff;
}

.btn-group-actions .btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
}

.warranty-active {
    color: #198754;
}

.warranty-expiring {
    color: #ffc107;
}

.warranty-expired {
    color: #dc3545;
}

.warranty-none {
    color: #6c757d;
}

.priority-high {
    border-left: 4px solid #dc3545;
}

.priority-normal {
    border-left: 4px solid #0d6efd;
}

.priority-low {
    border-left: 4px solid #198754;
}

.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}
