/* ============================================================
   Protected Video Player — Frontend Styles
   ============================================================ */

/* ── Əsas konteyner ─────────────────────────────────────── */
.pvp-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    margin: 24px auto;
    max-width: 800px;
}

/* ── Kilitli / Ödəniş gözləyən görünüş ──────────────────── */
.pvp-locked,
.pvp-payment {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff;
}

@media (min-width: 600px) {
    .pvp-locked,
    .pvp-payment {
        flex-direction: row;
    }
}

.pvp-thumbnail {
    min-width: 180px;
    min-height: 160px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.pvp-lock-icon {
    font-size: 64px;
    opacity: 0.85;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.pvp-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.pvp-title {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.pvp-desc {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pvp-msg {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.pvp-price-label {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.pvp-price {
    font-size: 1.25rem;
    color: #4fc3f7;
}

/* ── Düymələr ────────────────────────────────────────────── */
.pvp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    max-width: 320px;
    width: 100%;
}

.pvp-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.pvp-btn:active {
    transform: translateY(0);
}

.pvp-btn-login {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(2,136,209,0.4);
}

.pvp-btn-paypal {
    background: linear-gradient(135deg, #003087, #009cde);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,48,135,0.45);
}

.pvp-secure {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}

.pvp-note {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

/* ── Video player görünüşü ───────────────────────────────── */
.pvp-player {
    background: #000;
}

.pvp-video-title {
    margin: 0;
    padding: 14px 20px;
    background: #111;
    color: #eee;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid #222;
}

.pvp-video-wrapper {
    position: relative;
    background: #000;
    width: 100%;
    overflow: hidden;
}

.pvp-video-wrapper:fullscreen,
.pvp-video-wrapper:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvp-video-wrapper:fullscreen .pvp-video,
.pvp-video-wrapper:-webkit-full-screen .pvp-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.pvp-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
}

/* Şəffaf qoruyucu qatman */
.pvp-shield {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 48px;
    z-index: 10;
    background: transparent;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

/* ── Video alt footer ────────────────────────────────────── */
.pvp-footer {
    background: #111;
    padding: 10px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #222;
}

.pvp-badge {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    background: rgba(79,195,247,0.12);
    color: #4fc3f7;
}

.pvp-badge-warn {
    background: rgba(255,82,82,0.12);
    color: #ff7272;
}

/* ── Xəta mesajı ─────────────────────────────────────────── */
.pvp-error {
    padding: 14px 18px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-weight: 500;
}

/* ── Admin kart ──────────────────────────────────────────── */
.pvp-admin-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    max-width: 800px;
}

/* ── Responsiv ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .pvp-info {
        padding: 20px;
    }
    .pvp-btn {
        max-width: 100%;
    }
    .pvp-title {
        font-size: 1.15rem;
    }
}

/* ── Seçim/kopyalama bloku ───────────────────────────────── */
.pvp-container *,
.pvp-video-wrapper * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* ── Watermark ───────────────────────────────────────────── */
.pvp-watermark {
    position: absolute;
    z-index: 2147483647;
    pointer-events: none;
    transition: top 1.2s ease, left 1.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

/* Fullscreen mode */
.pvp-wm-text {
    display: inline-block;
    color: rgba(255, 255, 255, 0.28);
    font-size: 13px;
    font-weight: 600;
    font-family: monospace;
    letter-spacing: 0.03em;
    text-shadow:
        0 1px 3px rgba(0,0,0,0.6),
        0 0 8px rgba(0,0,0,0.4);
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(1px);
    -webkit-user-select: none;
    user-select: none;
}

/* ── Tamper (qoruma pozuldu) mesajı ─────────────────────── */
.pvp-tamper-msg {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    color: #ff6b6b;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.7;
    padding: 24px;
}

.pvp-tamper-msg small {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 400;
    margin-top: 6px;
}

/* ── Preview shortcode ───────────────────────────────────── */
.pvp-preview-wrap {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff;
    padding: 0;
}

.pvp-preview-header {
    background: #111;
    padding: 14px 20px;
    border-bottom: 1px solid #222;
}

.pvp-preview-title {
    margin: 0;
    color: #eee;
    font-size: 1.05rem;
    font-weight: 600;
}

.pvp-preview-badge {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: #4fc3f7;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.pvp-preview-player {
    aspect-ratio: 16 / 9;
    background: #000;
}

.pvp-preview-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pvp-btn-watch {
    background: linear-gradient(135deg, #43a047, #1b5e20);
    color: #fff;
    box-shadow: 0 4px 16px rgba(27,94,32,0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    max-width: 320px;
    width: 100%;
}

.pvp-btn-watch:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    color: #fff;
    text-decoration: none;
}

/* ── My Courses shortcode ────────────────────────────────── */
.pvp-my-courses {
    max-width: 800px;
    margin: 24px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pvp-mc-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a2e;
}

.pvp-mc-empty {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: #6c757d;
}

.pvp-mc-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pvp-mc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.pvp-mc-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.pvp-mc-card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.pvp-mc-card-body {
    flex: 1;
    min-width: 0;
}

.pvp-mc-card-title {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pvp-mc-card-desc {
    margin: 0 0 6px;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.pvp-mc-card-date {
    margin: 0;
    font-size: 0.8rem;
    color: #adb5bd;
}

.pvp-mc-card-action {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .pvp-mc-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .pvp-mc-card-action {
        width: 100%;
    }
    .pvp-btn-watch {
        max-width: 100%;
    }
}


/* ── Account Menu ────────────────────────────────────────── */
.pvp-account-wrap {
    position: relative;
    display: inline-block;
}

.pvp-account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a9d8f;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(42,157,143,0.3);
}

.pvp-account-btn:hover {
    background: #21867a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42,157,143,0.4);
}

.pvp-account-btn:active {
    transform: translateY(0);
}

.pvp-account-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.pvp-account-wrap.open .pvp-account-arrow {
    transform: rotate(180deg);
}

.pvp-account-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 180px;
    z-index: 9999;
    overflow: hidden;
}

.pvp-account-wrap.open .pvp-account-dropdown {
    display: block;
}

.pvp-account-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #1a1a3e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}

.pvp-account-dropdown a:hover {
    background: #f8f9fa;
}

.pvp-account-divider {
    height: 1px;
    background: #e9ecef;
    margin: 4px 0;
}

.pvp-account-logout {
    color: #dc3545 !important;
}

.pvp-signin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2a9d8f;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pvp-signin-btn:hover {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none;
}


/* ── Login Page ──────────────────────────────────────────── */
.pvp-login-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
}

.pvp-login-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
}

.pvp-login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.pvp-login-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a3e;
    margin: 0 0 8px;
}

.pvp-login-sub {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 28px;
}

.pvp-login-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    color: #856404;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pvp-login-field {
    margin-bottom: 20px;
}

.pvp-login-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a3e;
    margin-bottom: 6px;
}

.pvp-login-field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a1a3e;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.pvp-login-field input:focus {
    outline: none;
    border-color: #2a9d8f;
}

.pvp-login-remember {
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: #6c757d;
}

.pvp-login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pvp-login-btn {
    width: 100%;
    padding: 14px;
    background: #2a9d8f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pvp-login-btn:hover {
    opacity: 0.88;
}

.pvp-login-links {
    text-align: center;
    margin-top: 20px;
}

.pvp-login-links a {
    color: #2a9d8f;
    font-size: 0.88rem;
    text-decoration: none;
}

.pvp-login-links a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .pvp-login-box {
        padding: 32px 24px;
    }
}


/* ── Profile Page ────────────────────────────────────────── */
.pvp-profile-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fa;
}

.pvp-profile-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
}

.pvp-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
}

.pvp-profile-avatar {
    font-size: 3rem;
    background: #f0faf9;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvp-profile-name {
    margin: 0 0 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a3e;
}

.pvp-profile-email {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.pvp-profile-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px 16px;
    color: #155724;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pvp-video-wrapper:-webkit-full-screen .pvp-video,
.pvp-video-wrapper:fullscreen .pvp-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.pvp-video-wrapper:-webkit-full-screen .pvp-watermark,
.pvp-video-wrapper:fullscreen .pvp-watermark {
    position: absolute !important;
    z-index: 2147483647 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hide native fullscreen button */
.pvp-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.pvp-video::-webkit-media-controls-overflow-button {
    display: none !important;
}

/* ── Custom Video Controls ───────────────────────────────── */
.pvp-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 25;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 24px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pvp-video-wrapper:hover .pvp-controls,
.pvp-video-wrapper.pvp-paused .pvp-controls {
    opacity: 1;
}

.pvp-video-wrapper:fullscreen .pvp-controls,
.pvp-video-wrapper:-webkit-full-screen .pvp-controls {
    opacity: 1;
}

.pvp-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: height 0.15s;
}

.pvp-progress:hover { height: 6px; }

.pvp-progress-fill {
    height: 100%;
    background: #2a9d8f;
    border-radius: 2px;
    width: 0%;
    pointer-events: none;
}

.pvp-controls-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pvp-ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}

.pvp-ctrl-btn:hover { background: rgba(255,255,255,0.2); }

.pvp-time {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-family: monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

.pvp-volume-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pvp-volume-slider {
    -webkit-appearance: none;
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.pvp-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.pvp-spacer { flex: 1; }


/* ── Admin Panel Shortcode ───────────────────────────────── */
.pvp-ap-wrap {
    max-width: 900px;
    margin: 32px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pvp-ap-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}

.pvp-ap-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pvp-ap-card h3 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pvp-ap-form {}

.pvp-ap-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.pvp-ap-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.pvp-ap-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
}

.pvp-ap-field input,
.pvp-ap-field select {
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: border-color 0.2s;
    -webkit-appearance: auto;
    appearance: auto;
    background-color: #fff;
}

.pvp-ap-field input:focus,
.pvp-ap-field select:focus {
    outline: none;
    border-color: #2a9d8f;
}

.pvp-ap-btn-wrap {
    flex: 0;
    min-width: auto;
}

.pvp-ap-btn {
    padding: 11px 24px;
    background: #2a9d8f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.pvp-ap-btn:hover { opacity: 0.88; }

.pvp-ap-table-wrap {
    overflow-x: auto;
}

.pvp-ap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pvp-ap-table th {
    text-align: left;
    padding: 10px 12px;
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #e9ecef;
}

.pvp-ap-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.pvp-ap-table td small {
    display: block;
    color: #6c757d;
    font-size: 0.8rem;
}

.pvp-ap-table tr:hover td {
    background: #f8f9fa;
}

.pvp-ap-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pvp-ap-ok {
    background: #d4edda;
    color: #155724;
}

.pvp-ap-pending {
    background: #fff3cd;
    color: #856404;
}

.pvp-ap-revoke {
    color: #dc3545;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
}

.pvp-ap-revoke:hover {
    text-decoration: underline;
}

.pvp-ap-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 12px 16px;
    color: #155724;
    margin-bottom: 20px;
}

.pvp-ap-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px 16px;
    color: #721c24;
    margin-bottom: 20px;
}

/* ── Course Outline ──────────────────────────────────────── */
.pvp-outline {
    background: rgba(255,255,255,0.05);
    padding: 24px 32px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.pvp-outline-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.pvp-outline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}

.pvp-outline-list.pvp-outline-open {
    max-height: 2000px;
}

.pvp-outline-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, #0f3460);
    pointer-events: none;
    transition: opacity 0.3s;
}

.pvp-outline-list.pvp-outline-open + .pvp-outline-fade {
    opacity: 0;
}

.pvp-outline-list li {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 4px;
}

.pvp-outline-toggle {
    display: block;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    margin-top: 8px;
    transition: color 0.2s;
}

/* ── Google Login ────────────────────────────────────────── */
.pvp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.pvp-google-btn:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 8px rgba(66,133,244,0.2);
    color: #1a1a2e;
    text-decoration: none;
}

.pvp-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #adb5bd;
    font-size: 0.85rem;
}

.pvp-login-divider::before,
.pvp-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

.pvp-login-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a56db;
    letter-spacing: 0.05em;
}

.pvp-ap-pagination {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.pvp-ap-page {
    padding: 6px 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.pvp-ap-page:hover {
    background: #f8f9fa;
}

.pvp-ap-page-active {
    background: #2a9d8f;
    color: #fff;
    border-color: #2a9d8f;
}