/* Global Credit Modal Styles */

/* Overlay */
.credit-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

/* Container */
.credit-modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

/* Modal Card */
.credit-modal-card {
    background: white;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    padding: 48px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

/* Close Button */
.credit-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.credit-modal-close:hover {
    background: #f5f5f5;
}

/* Credit Card Icon */
.credit-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: block;
}

/* Title */
.credit-modal-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #353849;
    text-align: center;
    margin: 0 0 12px;
}

/* Description */
.credit-modal-description {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    color: #737586;
    text-align: center;
    margin: 0 0 32px;
    line-height: 24px;
}

/* Credit Options */
.credit-options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.credit-options-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.credit-option-btn {
    flex: 1;
    max-width: 120px;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e6e6eb;
    border-radius: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #353849;
    cursor: pointer;
    transition: all 0.3s ease;
}

.credit-option-btn:hover {
    border-color: #00a196;
    background: #f9fafc;
}

.credit-option-btn.selected {
    background: #00a196;
    border-color: #00a196;
    color: white;
}

/* Input Container */
.credit-input-container {
    margin-bottom: 32px;
}

.credit-input-label {
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #353849;
    margin-bottom: 8px;
}

.credit-input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e6e6eb;
    border-radius: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    color: #353849;
    transition: border-color 0.3s ease;
    background: white;
}

.credit-input-field:focus {
    outline: none;
    border-color: #00a196;
}

/* Submit Button */
.credit-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #00a196;
    border: none;
    border-radius: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.credit-submit-btn:hover {
    background: #008c82;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .credit-modal-card {
        padding: 32px 24px;
    }
    
    .credit-options-row {
        flex-wrap: wrap;
    }
    
    .credit-option-btn {
        min-width: calc(50% - 6px);
    }
}