.checkout-container {
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    padding: 30px; 
    border-radius: 10px;
    display: flex;
    gap: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.checkout-form {
    flex: 1;
}

.checkout-form h3 {
    margin-bottom: 20px;
    color: #2f4f1f;
    font-size: 22px;
    border-bottom: 2px solid white;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.checkout-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgb(197, 194, 194);
    box-sizing: border-box; 
    font-size: 15px;
    transition: border 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: rgb(179, 226, 131);
    outline: none;
}

.checkout-form textarea {
    height: 100px;
    resize: vertical;
}

.checkout-form input[type="radio"] {
    width: auto; 
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

.payment-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid white;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.payment-option:hover {
    background-color: white;
}

.payment-option label {
    cursor: pointer;
    width: 100%; 
    font-weight: normal; 
}

#bankInfo {
    margin-top: 15px;
    background-color: rgb(222, 236, 206);
    border: 2px dashed rgb(179, 226, 131); 
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #2f4f1f;
    animation: fadeIn 0.5s ease;
}

#bankInfo p {
    margin: 8px 0;
    line-height: 1.4;
}

#bankInfo b {
    display: inline-block;
    width: 110px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.order-box {
    width: 40%; 
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgb(197, 194, 194);
    height: fit-content; 
    position: sticky; 
    top: 20px;
}

.order-box h2 {
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 20px;
    color: black;
    padding-bottom: 10px;
}

.order-item span small{
    color: rgb(151, 143, 143);
}

.total {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 20px;
    font-weight: bold;
    justify-content: space-between;
    color: red;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    background: rgb(179, 226, 131);
    color: #2f4f1f;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn:hover {
    background: rgb(150, 200, 100);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
    }
    .order-box {
        width: 100%;
    }
}