* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    padding: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 480px; /* Ancho máximo típico de móvil */
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    /* background: linear-gradient(135deg, #0066cc, #003366); */
    background-color: #000000; /* Negro */
    color: white;
    padding: 24px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.header p {
    opacity: 0.9;
    font-size: 1rem;
}

/* Botones de acción principal */
.main-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #0066cc; /* Azul */
    color: white;
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
}

.btn-warning {
    background-color: #ff8c00; /* Naranja */
    color: white;
    box-shadow: 0 4px 10px rgba(255,140,0,0.3);
}

.btn-success {
    background-color: #28a745; /* Verde */
    color: white;
    box-shadow: 0 4px 10px rgba(40,167,69,0.3);
}

.btn-danger {
    background-color: #dc3545; /* Rojo */
    color: white;
    box-shadow: 0 4px 10px rgba(220,53,69,0.3);
}

.badge {
    background-color: rgba(255,255,255,0.25);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tarjetas de servicios */
.servicios-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.servicio-card {
    background-color: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 6px solid;
    transition: transform 0.2s;
}

.servicio-card:active {
    transform: scale(0.99);
}

.servicio-card.pendiente {
    border-left-color: #ff8c00; /* Naranja */
}

.servicio-card.finalizado {
    border-left-color: #28a745; /* Verde */
}

.servicio-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cliente {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.estado {
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.estado.pendiente {
    background-color: #fff3e0;
    color: #ff8c00;
}

.estado.finalizado {
    background-color: #e8f5e9;
    color: #28a745;
}

.producto {
    color: #666;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.fecha {
    color: #999;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Alertas */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Vacío */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    background-color: white;
    border-radius: 16px;
    font-size: 1.1rem;
}

/* Detalle servicio */
.detalle-info {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detalle-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.detalle-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detalle-label {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detalle-valor {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
}

.detalle-valor.solucion {
    color: #28a745;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 16px;
        font-size: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
}