/**
 * OVP Premium Restrictions - Styles
 * 
 * Stiluri pentru restricții Premium în dashboard
 * 
 * @version 1.0.2
 */

/* ============================================
   BADGE PREMIUM (nou adăugat inline)
   ============================================ */

.premium-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #000 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    z-index: 100 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3) !important;
    pointer-events: none !important;
}

/* ============================================
   OPȚIUNI BLOCATE (Premium Locked)
   ============================================ */

.premium-locked {
    position: relative;
    opacity: 0.65;
    cursor: not-allowed !important;
    pointer-events: auto !important;
    transition: all 0.3s ease;
}

.premium-locked:hover {
    opacity: 0.85;
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.premium-locked input[type="radio"],
.premium-locked input[type="checkbox"] {
    cursor: not-allowed !important;
}

/* ============================================
   MESAJ LIMITĂ ZILNICĂ
   ============================================ */

.ovp-daily-limit-message {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE082 100%);
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ovp-daily-limit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.ovp-daily-limit-text {
    flex: 1;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

.ovp-daily-limit-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: #6d5400;
}

.ovp-daily-limit-upgrade {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    color: #FFF !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.ovp-daily-limit-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4);
}

/* ============================================
   INDICATOR TESTE RĂMASE
   ============================================ */

.ovp-tests-remaining {
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.ovp-tests-remaining-icon {
    font-size: 20px;
}

.ovp-tests-remaining-text {
    flex: 1;
    color: #666;
}

.ovp-tests-remaining-text strong {
    color: #333;
    font-weight: 600;
}

.ovp-tests-remaining-upgrade {
    background: #FF6B00;
    color: #FFF !important;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.ovp-tests-remaining-upgrade:hover {
    background: #FF8533;
}

/* ============================================
   BUTON DEZACTIVAT
   ============================================ */

button.disabled,
button:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .ovp-daily-limit-message {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .ovp-daily-limit-icon {
        font-size: 28px;
    }
    
    .ovp-daily-limit-upgrade {
        width: 100%;
        text-align: center;
    }
    
    .premium-badge {
        top: 6px !important;
        right: 6px !important;
        font-size: 10px !important;
        padding: 4px 8px !important;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

.dark-mode .premium-locked {
    opacity: 0.55;
}

.dark-mode .premium-locked:hover {
    opacity: 0.75;
}

.dark-mode .ovp-daily-limit-message {
    background: linear-gradient(135deg, #3D3416 0%, #5C4E1F 100%);
    border-color: #FFD700;
}

.dark-mode .ovp-daily-limit-text {
    color: #FFE082;
}

.dark-mode .ovp-daily-limit-text strong {
    color: #FFD700;
}

.dark-mode .ovp-tests-remaining {
    background: #2D2D2D;
    border-color: #444;
}

.dark-mode .ovp-tests-remaining-text {
    color: #AAA;
}

.dark-mode .ovp-tests-remaining-text strong {
    color: #FFF;
}
