/* * VIP Module Styles
* Path: inc/vip/assets/css/vip.css
*/

/* VIP Package Card */
.td-vip-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.td-vip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #f59e0b; /* Amber 500 */
}

/* Highlight Card (Recommended) */
.td-vip-card.featured {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    background: linear-gradient(to bottom, #fffcf6, #fff);
}
.td-vip-card.featured::before {
    content: attr(data-badge-text);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Price */
.td-vip-price {
    margin: 20px 0;
    padding: 10px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    background: none !important;
    border: none !important;
}
.td-vip-price .price-num {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}
.td-vip-price .price-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

/* Features List */
.td-vip-features {
    list-style: none;
    padding: 0;
    margin: 20px auto 30px auto;
    text-align: left;
    display: inline-block;
}
.td-vip-features li {
    padding: 8px 0;
    color: #4b5563;
    display: flex;
    align-items: center;
}
.td-vip-features li i {
    color: #10b981; /* Emerald 500 */
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Button */
.btn-vip-action {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
    border-radius: 99px;
    padding: 10px 25px;
    font-weight: 700;
    width: 100%;
    transition: all 0.2s;
}
.btn-vip-action:hover {
    background-color: #d97706;
    transform: scale(1.02);
}

/* VIP Icon Animation in Header */
.fa-crown.vip-animate {
    animation: vipPulse 2s infinite;
}
@keyframes vipPulse {
    0% { transform: scale(1); color: #f59e0b; }
    50% { transform: scale(1.2); color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
    100% { transform: scale(1); color: #f59e0b; }
}

/* ==========================================================================
   Dark Mode Support for VIP Packages
   ========================================================================== */
.dark-mode .td-vip-card {
    background: var(--td-card-bg) !important;
    border: 1px solid var(--td-border-color) !important;
    color: var(--td-text-color) !important;
    box-shadow: none !important;
}

/* Make the featured/best-selling package stand out beautifully in dark mode */
.dark-mode .td-vip-card.featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, var(--td-card-bg) 100%) !important;
    border-color: #f59e0b !important;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.2) !important;
}

.dark-mode .td-vip-card h3.text-secondary {
    color: #f1f5f9 !important;
}

.dark-mode .td-vip-card .td-vip-price {
    background: none !important;
    border: none !important;
}

/* Highlight price of featured card in dark mode */
.dark-mode .td-vip-card .td-vip-price .price-num {
    color: #14b8a6 !important;
}
.dark-mode .td-vip-card.featured .td-vip-price .price-num {
    color: #fbbf24 !important;
}
.dark-mode .td-vip-card .td-vip-price .price-unit {
    color: #94a3b8 !important;
}

.dark-mode .td-vip-features li {
    color: #cbd5e1 !important;
}

.dark-mode .td-vip-card p.text-muted {
    color: #94a3b8 !important;
}

