﻿/* Payment Portal v2 Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.test-mode-banner {
    background-color: #ff6b35;
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 14px;
}

.container {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

input[type="number"],
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #3498db;
}

input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.char-count {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 2px;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover:not(:disabled) {
    background-color: #2980b9;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.summary-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-method {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.payment-method:hover {
    border-color: #3498db;
}

.payment-method.selected {
    border-color: #3498db;
    background-color: #f0f8ff;
}

.payment-method input[type="radio"] {
    margin-right: 10px;
}

.fee-breakdown {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.fee-total {
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.disclaimer {
    font-size: 12px;
    color: #666;
    margin: 15px 0;
    line-height: 1.4;
}

#payment-element {
    margin: 20px 0;
}

@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
}

.expiry-banner{background:#ffc107;color:#1d1d1d;text-align:center;padding:8px;font-weight:600;font-size:14px;}
