/**
 * BhojpuriFilms OTT - Premium Glassmorphism UI Stylesheet
 * 100% Responsive, Dark-Theme Optimized, Non-destructive Layering
 */

/* .bf-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
} */

 /* Login Popup */
 .bf-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92) !important; /* Made darker so background player gets fully shielded */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 9999999999 !important; /* Enforced maximum layer priority over YouTube iframe */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.bf-auth-modal-container {
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 35px 30px;
    position: relative;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
}

.bf-auth-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.bf-auth-close-btn:hover {
    background: #ff3333;
    color: #ffffff;
    border-color: #ff3333;
}

.bf-auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.bf-auth-icon {
    font-size: 32px;
    display: inline-block;
    margin-bottom: 10px;
}

.bf-auth-header h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bf-text-yellow {
    color: #ffdd00;
}

.bf-auth-header p {
    margin: 0;
    font-size: 13px;
    color: #cccccc;
}

.bf-social-auth-block {
    margin-bottom: 20px;
}

.bf-social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.bf-google-btn {
    background: #ffffff;
    color: #1a1a1a;
}

.bf-google-btn:hover {
    background: #e6e6e6;
}

.bf-btn-icon {
    font-size: 16px;
    margin-right: 10px;
}

.bf-auth-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.bf-auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.bf-auth-divider span {
    background: #1e1e1e;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    font-size: 11px;
    color: #888888;
    font-weight: 700;
}

.bf-input-group {
    margin-bottom: 15px;
    text-align: left;
}

.bf-input-group label {
    display: block;
    font-size: 12px;
    color: #bbbbbb;
    margin-bottom: 6px;
    font-weight: 500;
}

.bf-input-icon {
    margin-right: 4px;
}

.bf-input-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.bf-input-group input:focus {
    outline: none;
    border-color: #ffdd00;
}

.bf-auth-submit-btn {
    width: 100%;
    padding: 13px;
    border-radius: 8px;
    border: none;
    background: #ffdd00;
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    transition: opacity 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.bf-auth-submit-btn:hover {
    opacity: 0.9;
}

.bf-btn-reg-color {
    background: #00e676;
    color: #000000;
}

.bf-btn-arrow {
    margin-left: 8px;
    font-size: 13px;
}

.bf-auth-footer-switch {
    text-align: center;
    margin-top: 18px;
}

.bf-auth-footer-switch p {
    margin: 0;
    font-size: 13px;
    color: #aaaaaa;
}

.bf-auth-footer-switch a {
    color: #ffdd00;
    text-decoration: none;
    font-weight: 600;
}

.bf-auth-footer-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .bf-auth-modal-container {
        padding: 25px 20px;
    }
}


/* Custom Additions for VIP Pro Paywall Layout Module */
.bf-pro-modal-border {
    border: 1px solid #ffdd00 !important;
}
.bf-pro-plan-box {
    background: rgba(255, 221, 0, 0.1);
    border: 1px dashed #ffdd00;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
}
.bf-pro-plan-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bf-plan-title {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}
.bf-plan-price {
    font-size: 20px;
    font-weight: 900;
    color: #ffdd00;
}
.bf-pay-instruction {
    font-size: 12px;
    color: #aaaaaa;
    text-align: center;
    margin-bottom: 12px;
}
.bf-qr-container {
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.bf-qr-container img {
    max-width: 100%;
    height: auto;
}


/* Inline Notification Alert Styling Components */
.bf-inline-error-alert {
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid #ff3333;
    color: #ff8888;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.bf-alert-warn-icon {
    font-size: 15px;
    margin-right: 8px;
}

/* Premium Frontend Account Dashboard UI Blocks */
.bf-profile-dashboard-wrapper {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 30px;
    margin: 20px auto;
    max-width: 900px;
    box-sizing: border-box;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.bf-profile-header-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.bf-user-info-avatar-block {
    display: flex;
    align-items: center;
    gap: 20px;
}
.bf-avatar-frame-holder img {
    border-radius: 50%;
    border: 3px solid rgba(255, 221, 0, 0.4);
    background: #111111;
    display: block;
}
.bf-identity-strings h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 800;
}
.bf-identity-strings p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #cccccc;
}
.bf-logout-text-link {
    font-size: 12px;
    color: #ff3333;
    text-decoration: none;
    font-weight: 700;
}
.bf-logout-text-link:hover {
    text-decoration: underline;
}
.bf-membership-status-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px 25px;
    border-radius: 12px;
    min-width: 300px;
    flex: 1;
    text-align: right;
}
.bf-status-badge-container {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.bf-badge-free {
    background: rgba(170, 170, 170, 0.15);
    border: 1px solid #aaaaaa;
    color: #cccccc;
}
.bf-badge-premium {
    background: rgba(255, 221, 0, 0.15);
    border: 1px solid #ffdd00;
    color: #ffdd00;
    box-shadow: 0 0 15px rgba(255,221,0,0.2);
}
.bf-badge-pending {
    background: rgba(255, 152, 0, 0.15);
    border: 1px solid #ff9800;
    color: #ff9800;
}
.bf-validity-clock-string {
    margin: 0;
    font-size: 13px;
    color: #b3b3b3;
}
@media (max-width: 768px) {
    .bf-profile-header-grid { flex-direction: column; text-align: center; }
    .bf-user-info-avatar-block { flex-direction: column; }
    .bf-membership-status-card { text-align: center; width: 100%; }
}

 
/* Inject these styles at the very bottom of your bf-auth-style.css file */
.bf-profile-page-main-container {
    background: #0f0f0f !important; /* Forces global white body background to drop out */
}
.bf-embedded-support-trigger-zone {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.bf-inline-support-link {
    color: #ffdd00;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.2s ease;
}
.bf-inline-support-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}
.bf-embedded-support-form-holder {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.bf-support-internal-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 15px;
}
.bf-vertical-input-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.bf-vertical-input-stack input[type="text"],
.bf-vertical-input-stack textarea {
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    width: 100%;
    border-radius: 8px;
    padding: 10px 14px;
    box-sizing: border-box;
}
.bf-vertical-input-stack input[type="file"] {
    background: #141414 !important;
    border: 1px dashed rgba(255, 255, 255, 0.15) !important;
    color: #cccccc !important;
    padding: 8px !important;
    width: 100%;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
}
