/* static/css/order_confirmation.css */
.order-container {
    background: linear-gradient(135deg, #f5f3ff, #e0e7ff); /* Dégradé pastel pour le fond */
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.order-title {
    color: #1e3a8a; /* Bleu foncé */
    font-weight: 700;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.order-title i {
    color: #f59e0b; /* Jaune vif */
    font-size: 1.5rem;
}

.order-subtitle {
    color: #1e3a8a; /* Bleu foncé */
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-subtitle i {
    color: #f59e0b; /* Jaune vif */
    font-size: 1.2rem;
}

.order-alert {
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background-color: #fefce8; /* Fond jaune pâle */
    border-color: #fef08a;
    color: #1e3a8a; /* Texte bleu foncé */
}

.order-details {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-table {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-table thead {
    background: linear-gradient(135deg, #facc15, #f59e0b); /* Dégradé jaune vif */
    color: #1f2937; /* Texte gris foncé pour contraste */
}

.order-table th {
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.order-item {
    background-color: #f9fafb; /* Fond gris très clair */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.order-item:hover {
    background-color: #fefce8; /* Fond jaune pâle au survol */
    transform: translateY(-2px);
}

.order-product-name {
    font-weight: 500;
    color: #1e3a8a; /* Bleu foncé */
    font-size: 1.1rem;
    align-items: center;
}

.order-product-name i {
    color: #1e3a8a;
}

.order-quantity-value {
    font-weight: 600;
    color: #1e3a8a; /* Bleu foncé */
    font-size: 1rem;
}

.order-price {
    color: #16a34a; /* Vert pour les prix */
    font-weight: 500;
    align-items: center;
}

.order-price i {
    color: #16a34a;
}

.order-subtotal {
    color: #d97706; /* Jaune foncé pour les sous-totaux */
    font-weight: 600;
    align-items: center;
}

.order-subtotal i {
    color: #d97706;
}

.order-total {
    background-color: #fefce8; /* Fond jaune pâle */
    font-weight: 700;
}

.order-total-value {
    color: #16a34a; /* Vert pour le total */
    font-size: 1.2rem;
}

.order-info {
    background: #fefce8; /* Fond jaune pâle */
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.order-info-item {
    color: #1e3a8a; /* Bleu foncé */
    font-weight: 500;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.order-info-value {
    color: #4b5563; /* Gris foncé */
    font-weight: 400;
}

.order-status {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.order-status.pending {
    background-color: #fef08a; /* Jaune pâle */
    color: #d97706; /* Jaune foncé */
}

.order-status.completed {
    background-color: #d1fae5; /* Vert pâle */
    color: #16a34a; /* Vert */
}

.order-status.cancelled {
    background-color: #fee2e2; /* Rouge pâle */
    color: #dc2626; /* Rouge */
}

.order-actions {
    margin-bottom: 2rem;
}

.order-btn-generate {
    background: linear-gradient(135deg, #facc15, #f59e0b); /* Dégradé jaune vif */
    color: #1f2937; /* Texte gris foncé pour contraste */
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.order-btn-generate:hover {
    background: linear-gradient(135deg, #eab308, #d97706); /* Dégradé plus foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.order-btn-return {
    background: linear-gradient(135deg, #facc15, #f59e0b); /* Dégradé jaune vif */
    color: #1f2937; /* Texte gris foncé pour contraste */
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.order-btn-return:hover {
    background: linear-gradient(135deg, #eab308, #d97706); /* Dégradé plus foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

@media (max-width: 767px) {
    .order-title {
        font-size: 1.5rem;
    }

    .order-subtitle {
        font-size: 1.2rem;
    }

    .order-table th, .order-table td {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .order-product-name {
        font-size: 1rem;
    }

    .order-total-value {
        font-size: 1rem;
    }

    .order-info-item {
        font-size: 0.9rem;
    }

    .order-btn-generate, .order-btn-return {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}