.premium-popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-popup-modal.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.premium-popup-content {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.premium-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #9CA3AF;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.premium-popup-close:hover {
    background: #F3F4F6;
    color: #374151;
}

.premium-popup-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.premium-popup-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.premium-popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.premium-popup-description {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 24px;
    line-height: 1.6;
}

.premium-popup-features {
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.premium-popup-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-popup-features li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
}

.premium-popup-features li:before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #11BF2B;
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.premium-popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-premium {
    background: rgba(17, 191, 43, 1);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.btn-premium-outline {
    background: transparent;
    color: #6B7280;
    border: 2px solid #E5E7EB;
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-premium-outline:hover {
    border-color: #9CA3AF;
    color: #374151;
}

/* Premium Content Placeholder */
.premium-content-placeholder {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3D6 100%);
    border: 2px dashed #FFB800;
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    margin: 20px 0;
}

.premium-placeholder-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.premium-placeholder-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.premium-placeholder-text {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.premium-disabled {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed !important;
}

.premium-disabled:hover {
    opacity: 0.7;
}

.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
    z-index: 10;
}

.premium-table-message td {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF3D6 100%);
    border: none !important;
}

.premium-table-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
}

.premium-table-overlay svg {
    width: 32px;
    height: 32px;
}

.premium-table-overlay p {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

.premium-chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 12px;
}

.premium-chart-message {
    text-align: center;
    padding: 32px;
    max-width: 300px;
}

.premium-chart-message svg {
    margin-bottom: 16px;
}

.premium-chart-message h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.premium-chart-message p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.premium-restricted {
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .premium-popup-content {
        padding: 32px 24px;
        max-width: 90%;
    }

    .premium-popup-title {
        font-size: 24px;
    }

    .premium-popup-description {
        font-size: 14px;
    }

    .premium-popup-actions {
        flex-direction: column;
    }

    .btn-premium,
    .btn-premium-outline {
        width: 100%;
        justify-content: center;
    }

    .premium-content-placeholder {
        padding: 32px 16px;
    }
}

.premium-blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.premium-grayscale {
    filter: grayscale(100%);
    opacity: 0.5;
    pointer-events: none;
}

.premium-locked {
    position: relative;
}

.premium-locked::after {
    content: "🔒";
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 16px;
}

.premium-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    font-size: 10px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.dt-button.buttons-columnVisibility.premium-restricted,
.dt-button.buttons-collection.premium-restricted {
    position: relative;
    opacity: 0.85;
}

.dt-button.buttons-columnVisibility.premium-restricted:hover,
.dt-button.buttons-collection.premium-restricted:hover {
    opacity: 1;
    cursor: pointer;
}

.dt-button.buttons-columnVisibility.premium-restricted:hover .premium-badge-small,
.dt-button.buttons-collection.premium-restricted:hover .premium-badge-small {
    opacity: 1;
    transform: scale(1.1);
}

.premium-box-container {
    background:rgba(17, 191, 43, 0.1);
     border: 1px dashed rgba(17, 191, 43, 1);
    border-radius: 4px;
    padding: 48px 32px;
    text-align: center;
    margin: 32px 0;
}

.premium-box-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-box-icon img {
    width: 95px;
    height: 95px;
    object-fit: contain;
}

.premium-box-title {
    font-size: 24px;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.premium-box-description {
    font-size: 14px;
    color: rgba(95, 95, 95, 1);
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 400;
    font-family:  "Nacelle", sans-serif;
}

.premium-box-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.premium-box-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-box-feature-text {
    font-size: 14px;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
    font-family:  "Nacelle", sans-serif;
}

.premium-box-footer-text {
    font-size: 14px;
    color: rgba(95, 95, 95, 1);
    margin-bottom: 24px;
    font-weight: 400;
    font-family:  "Nacelle", sans-serif;
}

.premium-box-button {
    background: rgba(17, 191, 43, 1);
    height: 36px;
    width: 270px;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 77px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    font-family: "Nacelle", sans-serif;
}

.premium-box-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.premium-badge-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.premium-disabled-option {
    opacity: 0.6;
    cursor: not-allowed !important;
    position: relative;
}

.premium-disabled-option input[type="radio"] {
    cursor: not-allowed !important;
}

.premium-disabled-option label {
    cursor: not-allowed !important;
    color: #9CA3AF;
}

.premium-disabled-option:hover {
    opacity: 0.7;
}

