/* Payment Page Specific Styles */

.checkout-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    border: 1px solid #eee;
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.checkout-header p {
    color: #666;
    font-size: 0.95rem;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group input.error {
    border-color: #e53935;
}

.error-msg {
    color: #e53935;
    font-size: 0.8rem;
    min-height: 1.2em;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper input {
    width: 100%;
}

.currency-symbol {
    position: absolute;
    left: 12px;
    color: #666;
    font-weight: bold;
}

#amount {
    padding-left: 30px;
}

.card-icon {
    position: absolute;
    right: 12px;
    font-size: 1.2rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-confirm {
    flex: 2;
    background: #d32f2f;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s;
}

.btn-confirm:hover {
    background: #b71c1c;
}

.btn-confirm:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-cancel {
    flex: 1;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

.secure-badge {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .checkout-container {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}