/* Estilos para el formulario de cotización */
.shipping-quote-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shipping-quote-container h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

.form-section h3 {
    color: #0073aa;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: #0073aa;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #005a87;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Estilos para la página de detalles */
.shipping-quote-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.quote-detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.quote-number h2 {
    margin: 0 0 10px 0;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-quoted {
    background: #d1ecf1;
    color: #0c5460;
}

.status-paid {
    background: #d4edda;
    color: #155724;
}

.quote-date {
    color: #666;
    font-size: 14px;
}

.quote-response {
    background: #e7f7e7;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #4caf50;
}

.quote-response h3 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.response-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
}

.detail-item strong {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.detail-item span {
    color: #333;
    font-size: 16px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.price-item .price {
    color: #4caf50;
    font-size: 24px;
    font-weight: bold;
}

.payment-section,
.tracking-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.payment-section h4,
.tracking-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.btn-payment,
.btn-track {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-payment:hover,
.btn-track:hover {
    background: #45a049;
}

.tracking-info {
    background: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.tracking-number {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    font-family: monospace;
}

.quote-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.detail-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.detail-card h3 {
    color: #0073aa;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
}

.detail-card p {
    margin: 8px 0;
    color: #333;
}

.pending-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.pending-message p {
    margin: 0;
    color: #856404;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .shipping-quote-container,
    .quote-detail-content {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-date {
        margin-top: 10px;
    }
}
