.checkout-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.checkout-card {
    background: white;
    border-top: solid 5px #1a337f;
    border-radius: 0px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.checkout-card:hover {
    transform: translateY(-5px);
}

.price-display {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 0px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
}

.checkout-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: #1a337f;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 0px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a337f;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 0px;
    margin: 30px 0;
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.summary-header {
    padding: 20px;
    background: #1a337f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.summary-header:hover {
    background: #405594;
}

.summary-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin: 0;
    color: white;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.open {
    transform: rotate(180deg);
}

.summary-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.summary-content.active {
    padding: 20px;
    max-height: 500px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e1e5e9;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a337f;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid #1a337f;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 0px;
    padding: 5px;
    border: 1px solid #e1e5e9;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #1a337f;
    color: white;
    border-radius: 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #405594;
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    border: none;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 16px 24px;
    border: none;
    border-radius: 0px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.checkout-form .btn-primary {
    background: linear-gradient(135deg, #1a337f 0%, #405594 100%);
    color: white;
}

.checkout-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(3, 169, 244, .4) !important;
    color: white;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

.btn-whatsapp:hover {
    background: #1da851 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4) !important;
}

.processing-indicator {
    text-align: center;
    padding: 30px;
    display: none;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a337f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-container {
        padding: 10px;
    }

    .checkout-form {
        padding: 20px;
    }

    .price {
        font-size: 1.5rem;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
    }

    .summary-header h3 {
        font-size: 1rem;
    }
}