/* 360Future LMS - Dynamic Anti-Piracy Watermark & Video Player */

.f360-player-outer {
    width: 100%;
    margin-bottom: 30px;
    user-select: none;
    -webkit-user-select: none;
}

.f360-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.f360-yt-player-frame {
    width: 100%;
    height: 100%;
}

.f360-yt-player-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Fixed Center Anti-Piracy Watermark Overlay */
.f360-watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Crucial: Allows all clicks to reach the YouTube player */
    z-index: 100;
    user-select: none;
    -webkit-user-select: none;
}

.f360-wm-content {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 14px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.f360-wm-item {
    font-size: 13px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', monospace;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), -1px -1px 2px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.f360-wm-icon {
    font-size: 11px;
}

.f360-wm-token {
    font-size: 10px;
    opacity: 0.8;
}

.f360-wm-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: 4px;
}

/* Static Secondary Watermark (Bottom Right) */
.f360-static-watermark {
    position: absolute;
    bottom: 12px;
    right: 18px;
    pointer-events: none;
    z-index: 90;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.05em;
    user-select: none;
}

/* Tamper Shield Screen */
.f360-tamper-shield {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.f360-shield-message {
    color: #f87171;
    font-size: 18px;
    font-weight: 700;
    max-width: 480px;
    line-height: 1.5;
}

/* Player Info Bar */
.f360-player-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding: 14px 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.f360-lesson-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.f360-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}

.f360-btn-back {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.f360-btn-back:hover {
    background: #e2e8f0;
    color: #0f172a;
}

@media (max-width: 600px) {
    .f360-wm-content {
        padding: 5px 10px;
        gap: 2px;
    }
    .f360-wm-item {
        font-size: 10px;
    }
    .f360-player-info-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
