/**
 * 🎬 Credit Purchase Modal CSS
 */

#credit-purchase-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.credit-purchase-modal {
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    position: relative;
    color: #eee;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.credit-purchase-modal h3 {
    margin: 0 0 16px;
    font-size: 1.3rem;
    text-align: center;
}

.cpm-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px !important;
    height: 32px !important;
    min-height: unset !important;
    line-height: 32px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cpm-close:hover { color: #fff; }

.cpm-info {
    text-align: center;
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #ccc;
}

.cpm-balance {
    text-align: center;
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: #f59e0b;
}

.cpm-products {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.credit-product-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    border: 1px solid #444;
    border-radius: 10px;
    background: #252540 !important;
    color: #eee !important;
    cursor: pointer;
    transition: all 0.2s;
    width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
}
.credit-product-btn:hover {
    border-color: #6366f1;
    background: #2d2d50 !important;
}
.credit-product-btn.recommended {
    border-color: #6366f1;
    background: #2d2d50 !important;
}

.cp-emoji { font-size: 1.3rem; }
.cp-name { flex: 1; text-align: left; }
.cp-price { font-weight: bold; color: #a5b4fc; }
.cp-badge {
    background: #6366f1;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    line-height: 1.3;
    white-space: nowrap;
}

.cpm-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}
