﻿/* Auto-generated CSS file for Vip views */
/* Generated on: 2025-08-05 11:18:37 */
/* Project: Member */

/* From: Bonuses.cshtml */
.vip-section-header {
background-color: var(--secondary-color, #764BA2);
border-bottom: 1px solid #eee;
color: var(--text-secondary-color);
}

.vip-bonuses-container {
padding: 20px 15px;
background: #f8f9fa;
min-height: 100vh;
}

.vip-bonuses-list {
max-width: 800px;
margin: 0 auto;
}

.bonus-item {
background: white;
border-radius: 10px;
margin-bottom: 10px;
padding: 15px 20px;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
border-left: 4px solid var(--bonus-color);
}

.bonus-item:hover {
transform: translateX(5px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.bonus-item.upgrade-bonus { --bonus-color: var(--danger-color, #dc3545); }
.bonus-item.birthday-bonus { --bonus-color: var(--info-color, #17a2b8); }
.bonus-item.weekly-bonus,
.bonus-item.weeklyaid,
.bonus-item.dailyaid {
--bonus-color: var(--primary-color, #0272FF);
}
.bonus-item.expired {
--bonus-color: var(--danger-color, #dc3545);
opacity: 0.7;
}

.bonus-info {
flex: 1;
}

.bonus-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
}

.bonus-type {
font-weight: bold;
color: #333;
font-size: 16px;
}

.bonus-amount {
font-weight: bold;
color: var(--primary-color, #0272FF);
font-size: 18px;
}

.bonus-details {
font-size: 12px;
color: #666;
display: flex;
flex-wrap: wrap;
gap: 15px;
}

.bonus-detail-item {
display: flex;
align-items: center;
gap: 5px;
}

.bonus-actions {
display: flex;
align-items: center;
gap: 15px;
}

.bonus-status {
padding: 5px 12px;
border-radius: 15px;
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.status-pending {
background: linear-gradient(45deg, #FF9800, #F57C00);
color: white;
}

.status-expired {
background: linear-gradient(45deg, #dc3545, #c82333);
color: white;
}

.claim-btn {
background: linear-gradient(45deg, var(--bonus-color), var(--bonus-color));
color: white;
border: none;
padding: 8px 20px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.claim-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.claim-btn:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

.empty-state {
text-align: center;
padding: 60px 20px;
color: #666;
}

.empty-state i {
font-size: 4rem;
margin-bottom: 20px;
opacity: 0.7;
}

.empty-state h3 {
font-size: 1.5rem;
margin-bottom: 10px;
}

.empty-state p {
font-size: 1.1rem;
opacity: 0.8;
}

.claim-animation {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(76, 175, 80, 0.9);
color: white;
padding: 20px;
border-radius: 10px;
font-size: 1.2rem;
font-weight: bold;
z-index: 1000;
animation: claimSuccess 2s ease-in-out forwards;
pointer-events: none;
}

@keyframes claimSuccess {
            0% {
opacity: 0;
transform: translate(-50%, -50%) scale(0.5);
}
            20% {
opacity: 1;
transform: translate(-50%, -50%) scale(1.2);
}
            80% {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
            100% {
opacity: 0;
transform: translate(-50%, -50%) scale(0.8);
}
}

.expired-label {
background: #dc3545;
color: white;
padding: 2px 8px;
border-radius: 12px;
font-size: 10px;
font-weight: bold;
margin-left: 10px;
}

.spin {
animation: spin 1s linear infinite;
}
        
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

        /* Custom VIP Bonus Claim Confirmation Modal Styles */
.vip-bonus-confirm-modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(8px);
}

.vip-bonus-confirm-modal-content {
position: relative;
background: linear-gradient(145deg, #ffffff, #f8f9fa);
margin: 10% auto;
padding: 0;
border: 1px solid #e9ecef;
border-radius: 12px;
width: 90%;
max-width: 450px;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
animation: modalSlideIn 0.3s ease-out;
color: #333;
}

@keyframes modalSlideIn {
            from {
opacity: 0;
transform: translateY(-50px) scale(0.9);
}
            to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

.vip-bonus-confirm-modal-header {
padding: 25px 30px 20px;
border-bottom: 2px solid #e9ecef;
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 12px 12px 0 0;
}

.vip-bonus-confirm-modal-title {
color: white;
font-size: 20px;
font-weight: 700;
margin: 0;
display: flex;
align-items: center;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.vip-bonus-confirm-modal-title i {
margin-right: 12px;
color: #ffd700;
}

.vip-bonus-confirm-modal-close {
background: rgba(255, 255, 255, 0.2);
border: none;
font-size: 24px;
color: white;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
font-weight: bold;
}

.vip-bonus-confirm-modal-close:hover {
background-color: rgba(255, 255, 255, 0.3);
transform: rotate(90deg);
}

.vip-bonus-confirm-modal-body {
padding: 25px 30px;
color: #444;
line-height: 1.7;
text-align: center;
font-size: 15px;
}

.vip-bonus-confirm-modal-body h4 {
color: #2c3e50;
margin-bottom: 18px;
font-size: 18px;
}

.vip-bonus-confirm-modal-body p {
margin-bottom: 20px;
color: #666;
}

.vip-bonus-details {
background: #f8f9fa;
border-radius: 8px;
padding: 15px;
margin: 15px 0;
text-align: left;
}

.vip-bonus-detail-row {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
font-size: 14px;
}

.vip-bonus-detail-row:last-child {
margin-bottom: 0;
}

.vip-bonus-detail-label {
color: #666;
font-weight: 500;
}

.vip-bonus-detail-value {
color: #333;
font-weight: bold;
}

.vip-bonus-confirm-modal-footer {
padding: 20px 30px 25px;
border-top: 1px solid #e9ecef;
display: flex;
justify-content: center;
gap: 15px;
}

.vip-bonus-confirm-btn {
background: linear-gradient(45deg, #4CAF50, #45a049);
color: white;
border: none;
padding: 12px 25px;
border-radius: 25px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.vip-bonus-confirm-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.vip-bonus-cancel-btn {
background: #6c757d;
color: white;
border: none;
padding: 12px 25px;
border-radius: 25px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.vip-bonus-cancel-btn:hover {
background: #5a6268;
transform: translateY(-2px);
}

/* From: Index.cshtml */
/* Ensure body allows scrolling */
        body {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
        
.vip-section-header {
background-color: var(--secondary-color, #764BA2);
border-bottom: 1px solid #eee;
color: var(--text-secondary-color);
}

.vip-container {
padding: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

.vip-levels-container {
padding: 20px 15px;
background: var(--b-g-color);
border-radius: 20px 20px 0 0;
margin-top: 0;
position: relative;
z-index: 2;
opacity: 0;
transition: opacity 0.5s ease;
}

.vip-level-card {
background: white;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin-bottom: 15px;
overflow: hidden;
transition: all 0.3s ease;
}

.vip-level-card.active {
display: block;
}

.vip-level-card.current-level {
border-color: var(--primary-color, #0272FF);
box-shadow: 0 4px 20px rgba(2, 114, 255, 0.3);
}

.vip-level-card.hot-level {
position: relative;
}

.vip-level-card.hot-level::before {
content: "ðŸ”¥ HOT";
position: absolute;
top: 10px;
right: 10px;
background: linear-gradient(45deg, #ff6b6b, #ff8e53);
color: white;
padding: 4px 8px;
border-radius: 12px;
font-size: 10px;
font-weight: bold;
z-index: 3;
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}

.vip-card-header {
background-color: var(--primary-color, #0272FF);
color: white;
padding: 15px;
text-align: center;
position: relative;
}

.vip-card-header.current-level {
background-color: var(--secondary-color, #764BA2);
color: white;
}

.vip-icon {
height: 100px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 10px;
font-size: 28px;
overflow: hidden;
}

.vip-icon img {
height: 90px;
object-fit: cover;
}

.vip-level-title {
font-size: 18px;
font-weight: bold;
margin: 0;
}

.vip-level-name {
font-size: 14px;
opacity: 0.9;
margin: 5px 0 0 0;
color: white;
}

.vip-card-body {
padding: 15px;
}

.vip-requirements {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
}

.vip-requirement {
text-align: center;
flex: 1;
}

.vip-requirement-label {
font-size: 12px;
color: #666;
margin-bottom: 5px;
}

.vip-requirement-value {
font-size: 16px;
font-weight: bold;
color: #333;
}

.redeem-btn {
width: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 12px;
border-radius: 8px;
font-weight: bold;
margin-bottom: 15px;
transition: all 0.3s ease;
}

.redeem-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.redeem-btn:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

.bonus-section {
background: #f8f9fa;
border-radius: 10px;
padding: 15px;
margin-bottom: 15px;
}

.bonus-section h4 {
margin: 0 0 15px 0;
font-size: 16px;
color: #333;
text-align: center;
}

.bonus-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}

.bonus-item {
background: white;
padding: 12px;
border-radius: 8px;
text-align: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
cursor: pointer;
transition: all 0.3s ease;
}

.bonus-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.bonus-item-label {
font-size: 12px;
color: #666;
margin-bottom: 5px;
}

.bonus-item-value {
font-size: 14px;
font-weight: bold;
color: #667eea;
}

.rules-section {
background: white;
border-radius: 15px;
padding: 20px;
margin: 20px 15px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rules-section h3 {
margin: 0 0 15px 0;
font-size: 18px;
color: #333;
text-align: center;
}

.rules-content {
font-size: 14px;
line-height: 1.6;
color: #666;
}

.rules-content ul {
padding-left: 20px;
margin: 10px 0;
}

.rules-content li {
margin-bottom: 8px;
}

.level-navigation {
display: flex;
justify-content: center;
gap: 10px;
margin: 20px 0;
padding: 0 15px;
}

.level-nav-btn {
width: 40px;
height: 40px;
border-radius: 50%;
border: 2px solid #667eea;
background: white;
color: #667eea;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
}

.level-nav-btn.active {
background: #667eea;
color: white;
transform: scale(1.1);
}

.level-nav-btn:hover {
transform: scale(1.1);
box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.error-message {
text-align: center;
padding: 40px 20px;
color: #666;
}

        /* Container for level cards to handle positioning */
.vip-cards-container {
position: relative;
min-height: 400px;
overflow: hidden;
touch-action: pan-y;
cursor: grab;
user-select: none;
}

.vip-cards-container:active {
cursor: grabbing;
}

.vip-level-card {
display: none;
}

.vip-level-card.active {
display: block;
}

        /* Swipe indicator styles */
.swipe-indicator {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(102, 126, 234, 0.8);
color: white;
padding: 8px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: bold;
opacity: 0;
transition: opacity 0.3s ease;
z-index: 10;
pointer-events: none;
}

.swipe-indicator.left {
left: 20px;
}

.swipe-indicator.right {
right: 20px;
}

.swipe-indicator.show {
opacity: 1;
}

        /* Mobile-specific improvements */
@media (max-width: 768px) {
.vip-cards-container {
touch-action: pan-y;
                /* Ensure the container doesn't interfere with page scrolling */
position: relative;
z-index: 1;
}
            
.level-navigation {
margin: 15px 0;
}
            
.level-nav-btn {
width: 35px;
height: 35px;
font-size: 14px;
}
            
            /* Ensure the VIP container allows scrolling */
.vip-container {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}

        /* Additional animation styles */
.spin {
animation: spin 1s linear infinite;
}
        
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
        
        /* Smooth transitions for button states */
.redeem-btn {
transition: all 0.3s ease, background-color 0.5s ease;
}
        
.btn-success {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}
        
.btn-danger {
background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%) !important;
}

        /* Animated elements container */
.vip-animated-content {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
opacity: 0;
transform: translateX(100px) scale(0.9);
}

.vip-animated-content.active {
opacity: 1;
transform: translateX(0) scale(1);
}

.vip-animated-content.slide-out-left {
opacity: 0;
transform: translateX(-100px) scale(0.9);
}

.vip-animated-content.slide-out-right {
opacity: 0;
transform: translateX(100px) scale(0.9);
}

        /* Static elements (no animation) */
.vip-static-content {
opacity: 1;
transform: none;
}

        /* Coin heartbeat animation */
.coin-heartbeat {
pointer-events: none;
position: absolute;
right: -25px;
top: -25px;
z-index: 5;
opacity: 0;
transition: opacity 0.3s ease;
}

.coin-heartbeat.show {
opacity: 1;
}

.coin-heartbeat__ring {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 24px;
height: 24px;
border: 2px solid #ffd700;
border-radius: 50%;
animation: coinHeartbeatRing 2s ease-in-out infinite;
}

.coin-heartbeat__image {
transform: translate(-50%, -50%) scale(1);
position: relative;
z-index: 1;
animation: coinHeartbeatImage 2s ease-in-out infinite;
}

@keyframes coinHeartbeatRing {
            0%, 100% {
transform: translate(-50%, -50%) scale(0.3);
opacity: 0.8;
}
            50% {
transform: translate(-50%, -50%) scale(0.5);
opacity: 0.3;
}
}

@keyframes coinHeartbeatImage {
    0%, 100% {
        transform: scale(0.3);
    }
    25% {
        transform: scale(0.4);
    }
    50% {
        transform: scale(0.3);
    }
    75% {
        transform: scale(0.35);
    }
}

.floating-cs-pulse {
    top: 0%;
    left: 0%;
}
.vip-benefits-container {
    padding: 1rem;
    background: var(--b-g-color, #1a1a2e);
    /*min-height: 100vh;*/
}

.vip-levels-scroll-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.5rem 0rem;
    margin: 0;
    margin-bottom: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color, #667eea) rgba(255, 255, 255, 0.1);
    min-height: 100px;
}

    .vip-levels-scroll-container::-webkit-scrollbar {
        height: 6px;
    }

    .vip-levels-scroll-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .vip-levels-scroll-container::-webkit-scrollbar-thumb {
        background: var(--primary-color, #667eea);
        border-radius: 3px;
    }

.vip-levels-scroll {
    display: flex;
    gap: 0.25rem;
    min-width: max-content;
    padding: 0;
}

.vip-level-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    max-width: 70px;
    padding: 0.2rem 0rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .vip-level-item:hover {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        border-color: var(--primary-color, #667eea);
    }

    .vip-level-item.current-level {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
        border: 1px solid var(--primary-color, #667eea);
    }

    .vip-level-item.selected {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
        border: 1px solid var(--text-primary-color, #667eea);
    }

.vip-level-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vip-level-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .vip-level-icon i {
        font-size: 45px;
        color: var(--text-primary-color, rgba(255, 255, 255, 0.7));
    }

.vip-level-name {
    color: var(--text-primary-color, white);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
}

.benefits-table-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--text-primary-color, rgba(255, 255, 255, 0.05));
}

.benefits-table {
    margin-bottom: 0;
    width: 100%;
    background: transparent;
    border-collapse: collapse;
}


.benefit-name-col {
    width: 35%;
    min-width: 120px;
    text-align: left;
}

.benefit-value-col {
    width: 65%;
    text-align: center;
}

.benefit-row {
    transition: background-color 0.2s ease;
    background: transparent;
    border-bottom: 1px solid var(--text-primary-color, rgba(255, 255, 255, 0.2));
}

    .benefit-row:last-child {
        border-bottom: none;
    }

    .benefit-row:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

.benefit-name {
    padding: 0.2rem 0.8rem !important;
    vertical-align: middle;
    font-size: 11px;
    color: var(--text-primary-color, white);
    border: none;
    font-weight: 500;
}

.benefit-values {
    padding: 0.1rem 0.5rem !important;
    text-align: center;
    border: none;
}

.benefit-value-single {
    display: inline-block;
    padding: 0.1rem 0.7rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .benefit-value-single.hidden {
        display: none;
    }

    .benefit-value-single.current-level {
        background: rgba(255, 215, 0, 0.15);
    }

.value-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary-color, white);
}

.benefit-value-single.current-level .value-label {
    color: #ffd700;
    font-weight: 700;
}

.section-header {
    border-width: 0px 0;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid var(--text-primary-color, rgba(255, 255, 255, 0.2));
}

.section-titles {
    padding: 0.3rem 0.6rem !important;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary-color, white);
    letter-spacing: 1px;
    text-align: center;
    border: none;
}
    
.error-message,
.no-benefits-message {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-primary-color, white);
}

    .error-message h3,
    .no-benefits-message p {
        margin-bottom: 1rem;
    }

/* Mobile responsive adjustments */
@@media (max-width: 768px) {
    .benefits-table-container {
        overflow-x: auto;
    }

    .vip-level-item {
        min-width: 70px;
        padding: 0.4rem 0.2rem;
    }

    .vip-level-icon {
        height: 45px;
    }

    .vip-level-name {
        font-size: 10px;
    }

    .benefits-table thead th {
        font-size: 12px;
        padding: 0rem;
    }

    .benefit-name {
        font-size: 12px;
        padding: 0rem;
    }

    .benefit-values {
        padding: 0rem;
    }

    .value-label {
        font-size: 13px;
    }

    .benefit-name-col {
        width: 40%;
    }

    .benefit-value-col {
        width: 60%;
    }
}

