.delivery-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.delivery-option-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.delivery-option-card:hover {
    background: rgba(108, 92, 231, 0.2);
}

.delivery-option-card input {
    display: none; /* Скрываем стандартную радиокнопку */
}

.delivery-option-card.active {
    background: #6c5ce7;
    border-color: #6c5ce7;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.hidden-section {
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #bdc3c7;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
}

.form-group select {
    background: rgba(15, 12, 41, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group select option {
    background-color: #484553; /* Очень темный синий */
    color: white;
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ УСПЕШНОГО ЗАКАЗА (order_success.php) --- */
.order-success-card {
    background: rgba(30, 25, 50, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(76, 175, 80, 0.4); /* Зеленоватая рамка */
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    margin: 60px auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon {
    font-size: 5em;
    color: #4caf50;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.4));
}

.order-success-card h2 {
    color: #fff;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.order-success-card p {
    color: #bdc3c7;
    font-size: 1.1em;
    margin-bottom: 8px;
    line-height: 1.5;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 35px;
    flex-wrap: wrap;
}

.success-actions .checkout-btn {
    margin: 0; /* Переопределяем margin, так как используем gap */
}

.btn-green {
    background: #4caf50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-green:hover {
    background: #43a047;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.5);
}


/* --- Адаптив оформления --- */
@media (max-width: 600px) {
    .delivery-options {
        flex-direction: column;
    }
    div[style*="display: flex; gap: 15px;"] {
        flex-direction: column;
        gap: 0;
    }
    .checkout-btn {
        width: 100%;
        text-align: center;
    }
}