/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.checkout-container {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

.checkout-wrapper {
    display: flex;
    flex-wrap: wrap;
}

/* Columns */
.left-col, .right-col {
    padding: 40px;
    flex: 1;
    min-width: 350px;
}

.left-col {
    border-right: 1px solid #edf2f7;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 20px;
}

/* Input Fields */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* Amount Selector Grid */
.amount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.amount-item {
    cursor: pointer;
}

.amount-item input {
    display: none;
}

.amount-card {
    border: 2px solid #e2e8f0;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s;
}

.amount-card .currency {
    font-size: 14px;
    color: #718096;
}

.amount-card .val {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
}

.amount-item input:checked + .amount-card {
    border-color: #3182ce;
    background-color: #ebf8ff;
}

/* Payment Section Styles */
.card-types {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-types span {
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
}

.brand-icons img {
    height: 24px;
    margin-left: 5px;
    vertical-align: middle;
}

.row {
    display: flex;
    gap: 15px;
}

/* Pay Button */
.pay-button {
    width: 100%;
    background-color: #2d3748;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    transition: background 0.3s;
}

.pay-button:hover {
    background-color: #1a202c;
}

.btn-left {
    margin-right: 12px;
}

.security-note {
    font-size: 12px;
    color: #a0aec0;
    text-align: center;
    margin-top: 15px;
}

/* Responsive Logic */
@media (max-width: 768px) {
    .left-col {
        border-right: none;
        border-bottom: 1px solid #edf2f7;
    }
    .checkout-wrapper {
        flex-direction: column;
    }
}

.processing-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2d3748; 
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lock-scroll {
    overflow: hidden;
}

