.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#paymentModal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pricing-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #eee;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin: 15px 0;
}

/* Dark Mode Support */
body.dark-mode #paymentModal .modal-content {
    background: rgba(30, 30, 50, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
}

body.dark-mode .close-modal {
    color: #ccc;
}

body.dark-mode .close-modal:hover {
    color: #fff;
}

body.dark-mode #paymentModal h2 {
    color: #e8e8e8;
}

body.dark-mode .pricing-card {
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .pricing-card:hover {
    border-color: #667eea;
    background: rgba(50, 50, 70, 0.8);
}

body.dark-mode .pricing-card h3,
body.dark-mode .pricing-card p {
    color: #e8e8e8;
}

body.dark-mode .payment-note {
    color: #aaa !important;
}

body.dark-mode .pricing-card .payment-note[style*="color: #f3b45c"] {
    color: #f3b45c !important;
}