/**
 * Negavid License Manager - Frontend
 */

.negavid-lm-protected {
    position: relative;
}

.negavid-lm-protected .negavid-video-stream[data-negavid-lm-gated="1"],
.negavid-lm-protected .negavid-video-stream[hidden] {
    display: none !important;
}

.negavid-lm-is-hidden {
    display: none !important;
}

.negavid-lm-login-required,
.negavid-lm-gate {
    max-width: 640px;
    margin: 16px 0;
    padding: 20px 22px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.8;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.negavid-lm-login-required {
    background: #fff8e8;
    border: 1px solid #f0c36d;
    color: #6a4b12;
}

.negavid-lm-gate {
    background: #f5f7fb;
    border: 1px solid #d9deea;
    color: #3d4663;
}

.negavid-lm-login-required p,
.negavid-lm-gate p {
    margin: 0;
}

.negavid-lm-notification {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999999;
    padding: 12px 18px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.negavid-lm-notification-success {
    background: #2f9e5f;
}

.negavid-lm-notification-error {
    background: #d64545;
}

.negavid-lm-notification-warning {
    background: #f0c36d;
    color: #3d2e0b;
}

@media (prefers-color-scheme: dark) {
    .negavid-lm-login-required {
        background: #4a3914;
        border-color: #f0c36d;
        color: #ffe8b0;
    }

    .negavid-lm-gate {
        background: #2b3140;
        border-color: #4a536b;
        color: #e4e8f4;
    }
}
