/* Globalni stilovi */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Status badge stilovi */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-zaprimljen { background: #0dcaf0; color: #000; }
.status-u_obradi { background: #ffc107; color: #000; }
.status-ceka_materijal { background: #fd7e14; color: #fff; }
.status-zavrsen { background: #198754; color: #fff; }
.status-odbijen { background: #dc3545; color: #fff; }

/* Prioritet stilovi */
.priority-high { background: #dc3545; color: white; }
.priority-medium { background: #ffc107; color: black; }
.priority-low { background: #28a745; color: white; }

/* Animacije */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}