/* ===== CONTAINER ===== */
#custom-order-box {
    margin: 15px;
    padding: 20px 20px 90px; /* espace pour bouton fixe */
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    font-family: "Segoe UI", Tahoma, sans-serif;
    text-align: center;
}

/* ===== INPUT GROUP (ICON) ===== */
.input-group {
    position: relative;
    margin-bottom: 14px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ff9800;
}

/* ===== INPUTS & SELECT ===== */
#custom-order-box input,
#custom-order-box select {
    width: 100%;
    padding: 14px 16px 14px 42px; /* espace icône */
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    background: #f9f9f9;
    text-align: center;
    transition: all 0.3s ease;
}

/* SELECT HEIGHT (wilaya / commune) */
#custom-order-box select {
    height: 52px; /* plus haut */
    appearance: none;
}

/* Focus */
#custom-order-box input:focus,
#custom-order-box select:focus {
    outline: none;
    border-color: #ff9800;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.2);
}

/* ===== RADIO ===== */
#custom-order-box input[type="radio"] {
    transform: scale(1.2);
    margin: 0 6px;
}

/* ===== PRICE TEXT ===== */
#custom-order-box .price,
#custom-order-box .total {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

/* ===== FIXED BUTTON (MOBILE) ===== */
#custom-order-box button {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 420px;
    padding: 16px;
    background: linear-gradient(135deg, #ff9800, #ff6f00);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255,152,0,0.4);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Button pressed */
#custom-order-box button:active {
    transform: translateX(-50%) scale(0.96);
}

/* ===== CONFIRMATION ANIMATION ===== */
#custom-order-box button.success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    animation: pop 0.4s ease;
}

@keyframes pop {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
    100% { transform: translateX(-50%) scale(1); }
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
    #custom-order-box {
        max-width: 420px;
        margin: 30px auto;
        padding-bottom: 30px;
    }

    #custom-order-box button {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 15px;
    }
}
