/* Page Restrict Manager – Public Paywall */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Noto+Sans:wght@400;500&display=swap');

.prm-teaser {
    color: #555;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    margin-bottom: 0;
}

/* Paywall container */
.prm-paywall {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    background: linear-gradient(145deg, #0d0d1a 0%, #121229 100%);
    border: 1px solid rgba(0, 212, 255, .15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.4), inset 0 0 60px rgba(0,212,255,.03);
}

.prm-paywall-inner {
    padding: 40px 32px;
    text-align: center;
}

.prm-lock-icon {
    font-size: 48px;
    animation: prm-pulse 2s ease-in-out infinite;
}
@keyframes prm-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

.prm-paywall-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 8px;
    letter-spacing: .5px;
}

.prm-paywall-msg {
    color: #8899bb;
    font-size: 15px;
    margin-bottom: 28px;
}

/* Tabs */
.prm-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.prm-tab {
    background: transparent;
    border: 1px solid rgba(0,212,255,.3);
    color: #88aacc;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Noto Sans', sans-serif;
    transition: all .2s;
}
.prm-tab.active,
.prm-tab:hover {
    background: rgba(0,212,255,.12);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* Tab content */
.prm-tab-content { display: none; }
.prm-tab-content.active { display: block; }

/* Plans */
.prm-plans {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.prm-plan-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 24px 20px;
    min-width: 160px;
    flex: 1;
    max-width: 220px;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.prm-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,212,255,.15);
    border-color: rgba(0,212,255,.4);
}

.prm-plan-popular {
    border-color: rgba(0, 212, 255, .5);
    background: rgba(0, 212, 255, .06);
}

.prm-popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00d4ff, #0077ff);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: .5px;
}

.prm-plan-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #aabbdd;
    margin-bottom: 8px;
}

.prm-plan-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.prm-plan-note {
    font-size: 12px;
    color: #556677;
    margin-bottom: 16px;
}

/* Buttons */
.prm-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .2s;
    font-family: 'Noto Sans', sans-serif;
    text-decoration: none;
    background: linear-gradient(135deg, #00d4ff, #0066cc);
    color: #fff;
    width: 100%;
}
.prm-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.prm-btn:active { transform: translateY(0); }
.prm-btn:disabled { opacity: .5; cursor: not-allowed; }
.prm-btn-secondary {
    background: transparent;
    border: 1px solid #00d4ff;
    color: #00d4ff;
}

/* Bundle */
.prm-bundle-card { max-width: 280px; }
.prm-bundle-desc { font-size: 12px; color: #667788; margin: 4px 0 12px; }
.prm-bundle-prices { display: flex; flex-direction: column; gap: 8px; }

/* Login prompt */
.prm-login-prompt { padding: 16px; }
.prm-login-prompt p { color: #8899bb; }

/* Footer */
.prm-paywall-footer {
    margin-top: 24px;
    font-size: 12px;
    color: #445566;
}

/* My Subscriptions Shortcode */
.prm-my-subs { font-family: 'Noto Sans', sans-serif; }
.prm-my-subs h3 { font-size: 18px; margin-bottom: 16px; }
.prm-subs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prm-subs-table th { background: #f5f5f5; padding: 10px; text-align: left; border-bottom: 2px solid #e0e0e0; }
.prm-subs-table td { padding: 10px; border-bottom: 1px solid #eee; }
.prm-badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.prm-badge-green { background: #e6f9ee; color: #0a7a3e; }
