/* ===== SERVICE CARDS COMPONENT ===== */

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding: 0 10px;
}

.service-card {
    background: #fff;
    border: 2px solid #1e3a8a;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 24px rgba(30,58,138,0.15);
    border-color: #1d4ed8;
}

/* Service Types */
.service-card.economico {
    border-left: 6px solid #1e3a8a;
}

.service-card.expreso {
    border-left: 6px solid #dc2626;
}

.service-card.prioritario {
    border-left: 6px solid #3b82f6;
}

/* Service Header */
.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(30,58,138,0.10);
    flex-shrink: 0;
}

.service-icon.economico {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.service-icon.expreso {
    background: linear-gradient(135deg, #dc2626, #f87171);
}

.service-icon.prioritario {
    background: linear-gradient(135deg, #1d4ed8, #ef4444);
}

/* Service Text */
.service-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 11px;
    color: #dc2626;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Price Display */
.price-range {
    font-size: 22px;
    font-weight: 800;
    margin: 8px 0;
    color: #1d4ed8;
    line-height: 1.1;
}

.price-range.economico {
    color: #1e3a8a;
}

.price-range.expreso {
    color: #dc2626;
}

.price-range.prioritario {
    color: #3b82f6;
}

/* Service Options */
.service-options {
    margin-top: 12px;
}

.option-group {
    margin-bottom: 10px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #dee2e6;
}

.option-group.certificado {
    border-left-color: #28a745;
    background: #e8f5e8;
}

.option-group.no-certificado {
    border-left-color: #ffc107;
    background: #fff8e1;
}

.option-label {
    font-size: 11px;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
    display: block;
    line-height: 1.2;
}

.option-price {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.option-details {
    font-size: 10px;
    color: #6c757d;
    margin-top: 2px;
    line-height: 1.3;
}

/* Service Type Tags */
.service-types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.service-type-tag {
    background: #e9ecef;
    color: #495057;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Additional Charges */
.additional-charges-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px dashed #e5e7eb;
}

.additional-charges-title {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-align: center;
}

.additional-charge-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.additional-charge-item:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 5px;
    }
    
    .service-card {
        padding: 14px;
        margin: 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .service-header {
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
        font-size: 18px;
    }
    
    .service-title {
        font-size: 15px;
        letter-spacing: 0.2px;
    }
    
    .service-subtitle {
        font-size: 10px;
    }
    
    .price-range {
        font-size: 20px;
        margin: 6px 0;
    }
    
    .service-options {
        margin-top: 10px;
    }
    
    .option-group {
        margin-bottom: 8px;
        padding: 5px 8px;
    }
    
    .option-label {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    .option-price {
        font-size: 14px;
    }
    
    .option-details {
        font-size: 9px;
    }
    
    .service-types {
        gap: 3px;
        margin-top: 5px;
    }
    
    .service-type-tag {
        padding: 1px 5px;
        font-size: 8px;
        letter-spacing: 0.1px;
    }
}