/* Phone-first authentication */
.beeble-phone-auth{width:100%;max-width:460px;margin:30px auto;padding:30px;background:var(--background-item,#171717);border:1px solid var(--border-color,rgba(255,255,255,.1));border-radius:14px;color:var(--heading,#fff);box-sizing:border-box}
.beeble-auth-heading h2{margin:0 0 8px;font-size:26px}.beeble-auth-heading p,.beeble-auth-footnote{font-size:13px;opacity:.72;line-height:1.6}
.beeble-phone-auth label{display:block;margin:18px 0 7px;font-weight:600}.beeble-phone-auth input{display:block;width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--border-color,#555);border-radius:7px;background:transparent;color:inherit;box-sizing:border-box}
.beeble-auth-submit{width:100%;min-height:50px;margin-top:20px;border:0;border-radius:7px;background:var(--main,#f54900);color:#fff;font-weight:700;cursor:pointer}.beeble-auth-submit:disabled{opacity:.65;cursor:wait}
.beeble-auth-message{display:none;margin:14px 0;padding:10px 12px;border-radius:6px;font-size:13px}.beeble-auth-message:not(:empty){display:block}.beeble-auth-message.is-error{background:rgba(190,40,40,.15);color:#ff8b8b}.beeble-auth-message.is-success{background:rgba(40,160,90,.15);color:#76d99b}
.beeble-auth-switch{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:18px;font-size:13px}.beeble-auth-toggle{padding:0;border:0;background:none;color:var(--main,#f54900);font-weight:700;cursor:pointer}.beeble-auth-footnote{margin:18px 0 0}.beeble-phone-auth [hidden],.beeble-auth-otp[hidden],.beeble-download-options[hidden]{display:none!important}
/* Movie and episode downloads */
.beeble-download-panel{max-width:440px;margin:22px 0;padding:16px;background:var(--background-item,#171717);border:1px solid var(--border-color,rgba(255,255,255,.1));border-radius:10px}
.beeble-download-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.beeble-download-heading strong{font-size:16px}.beeble-download-count{font-size:12px;opacity:.72}
.beeble-download-main{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;padding:12px 18px;border:0;border-radius:7px;background:var(--main,#f54900);color:#fff;font-size:15px;font-weight:800;letter-spacing:.3px;cursor:pointer;transition:filter .2s}.beeble-download-main:hover{filter:brightness(1.1)}.beeble-download-main:before{content:'↓';font-size:22px;line-height:1}.beeble-download-chevron{margin-left:auto;font-size:19px}
.beeble-download-options{margin-top:9px;border:1px solid var(--border-color,rgba(255,255,255,.1));border-radius:7px;overflow:hidden}.beeble-download-item{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 14px;border:0;border-bottom:1px solid var(--border-color,rgba(255,255,255,.1));background:transparent;color:inherit;text-align:left;cursor:pointer}.beeble-download-item:last-child{border-bottom:0}.beeble-download-item:hover{background:rgba(255,255,255,.06)}.beeble-download-item.is-loading{opacity:.55;cursor:wait}
@media(max-width:600px){.beeble-phone-auth{padding:22px 18px;margin:18px auto}.beeble-download-panel{width:100%;box-sizing:border-box}}

/* International phone country selector */
.beeble-phone-auth .iti {
    display: block;
    width: 100%;
}

.beeble-phone-auth .iti input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
}

.beeble-phone-auth .iti__dropdown-content {
    z-index: 10000;
}

.beeble-phone-auth .iti__country-list {
    max-width: 320px;
}

.beeble-phone-auth #beeble-phone-recaptcha {
    margin-top: 12px;
}


/* Improve international country dropdown visibility */
.beeble-phone-auth .iti__dropdown-content {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #cccccc;
    z-index: 10001 !important;
}

.beeble-phone-auth .iti__search-input {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #cccccc !important;
}

.beeble-phone-auth .iti__country-list {
    background: #ffffff !important;
    color: #222222 !important;
    max-height: 220px;
}

.beeble-phone-auth .iti__country {
    color: #222222 !important;
}

.beeble-phone-auth .iti__country-name,
.beeble-phone-auth .iti__dial-code {
    color: #222222 !important;
}

.beeble-phone-auth .iti__country:hover,
.beeble-phone-auth .iti__active {
    background: #eeeeee !important;
}


/* Phone registration and sign-in mode switch */
.beeble-auth-mode-switch {
    display: flex;
    gap: 8px;
    margin: 18px 0;
    padding: 4px;
    border: 1px solid var(--border-color, rgba(255,255,255,.12));
    border-radius: 8px;
}

.beeble-auth-mode {
    flex: 1;
    min-height: 42px;
    padding: 9px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-weight: 700;
    cursor: pointer;
}

.beeble-auth-mode.is-active {
    background: var(--main, #f54900);
    color: #fff;
}

.beeble-auth-login-password {
    margin-top: 12px;
}

.beeble-auth-login-password input {
    margin-top: 7px;
}

.beeble-auth-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Unified account sign-in methods */
.beeble-auth-login-methods {
    display: flex;
    gap: 8px;
    margin: 12px 0 18px;
    padding: 4px;
    border: 1px solid var(--border-color, rgba(255,255,255,.12));
    border-radius: 8px;
}

.beeble-auth-method {
    flex: 1;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-weight: 700;
    cursor: pointer;
}

.beeble-auth-method.is-active {
    background: var(--main, #f54900);
    color: #fff;
}

.beeble-auth-email-panel {
    margin-top: 12px;
}

.beeble-auth-email-panel form {
    width: 100%;
}

.beeble-auth-email-panel input {
    max-width: 100%;
}

.beeble-auth-email-panel button,
.beeble-auth-email-panel input[type="submit"] {
    min-height: 46px;
}

.beeble-phone-auth [hidden] {
    display: none !important;
}

/* Unified PMPro email login styling */
.beeble-auth-email-panel .pmpro,
.beeble-auth-email-panel #pmpro_login,
.beeble-auth-email-panel .pmpro_login_wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.beeble-auth-email-panel .pmpro_card_title {
    display: none;
}

.beeble-auth-email-panel .pmpro_card_content {
    padding: 0;
}

.beeble-auth-email-panel #loginform p {
    margin: 0 0 16px;
    padding: 0;
}

.beeble-auth-email-panel #loginform label {
    display: block;
    margin: 0 0 7px;
    font-size: 14px;
}

.beeble-auth-email-panel #loginform input[type="text"],
.beeble-auth-email-panel #loginform input[type="password"] {
    display: block;
    width: 100%;
    height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--border-color, #555);
    border-radius: 7px;
    background: #1b1b20;
    color: #fff;
    box-sizing: border-box;
}

.beeble-auth-email-panel #loginform .login-remember label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
}

.beeble-auth-email-panel #loginform input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    padding: 0;
    flex: 0 0 18px;
}

.beeble-auth-email-panel #loginform .login-submit {
    margin-top: 18px;
}

.beeble-auth-email-panel #loginform input[type="submit"] {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 7px;
    background: var(--main, #f54900);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.beeble-auth-email-panel .pmpro_card_actions {
    padding: 12px 0 0;
    border: 0;
    background: transparent;
}

.beeble-auth-email-panel .pmpro_actions_nav {
    font-size: 13px;
    text-align: center;
}

.beeble-auth-email-panel .pmpro_form_field-password-toggle {
    margin-top: 5px;
}


/* Strong overrides for PMPro email login fields */
.beeble-auth-email-panel #loginform input[type="text"],
.beeble-auth-email-panel #loginform input[type="email"],
.beeble-auth-email-panel #loginform input[type="password"] {
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 12px 14px !important;
    border: 1px solid #666 !important;
    border-radius: 8px !important;
    background: #24242b !important;
    color: #fff !important;
    font-size: 16px !important;
    line-height: 24px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
}

.beeble-auth-email-panel #loginform input:focus {
    border-color: #f00 !important;
    outline: none !important;
}

.beeble-auth-email-panel #loginform .login-remember {
    margin-top: 22px !important;
}

.beeble-auth-email-panel #loginform .login-remember label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 24px !important;
    cursor: pointer !important;
}

.beeble-auth-email-panel #loginform input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #aaa !important;
    border-radius: 4px !important;
    background: #24242b !important;
    accent-color: #f00 !important;
    cursor: pointer !important;
}

.beeble-auth-email-panel #loginform input[type="checkbox"]:checked {
    background: #f00 !important;
    border-color: #f00 !important;
    box-shadow: inset 0 0 0 4px #24242b !important;
}

/* Password setup buttons */
.beeble-auth-password-setup {
    width: 100%;
}

.beeble-auth-password-setup .beeble-password-form button[type="submit"],
.beeble-auth-password-setup > .beeble-password-skip {
    display: block !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 14px 0 0 !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f00 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.beeble-auth-password-setup > .beeble-password-skip {
    margin-top: 10px !important;
    border: 1px solid #666 !important;
    background: #292930 !important;
    color: #fff !important;
}

.beeble-auth-password-setup button:hover {
    opacity: 0.9;
}

/* PMPro video restriction message: restore visibility and clickable links */
.js-content-container .pmpro_content_message {
    display: block !important;
    position: relative;
    z-index: 20;
    pointer-events: auto !important;
}
.js-content-container .pmpro_content_message a,
.js-content-container .pmpro_content_message button {
    position: relative;
    z-index: 21;
    pointer-events: auto !important;
    cursor: pointer;
}

/* Keep the decorative video restriction overlay from blocking links */
.videos_player .videos-message:before {
    pointer-events: none !important;
}
.videos_player .videos-message .pmpro_content_message {
    position: absolute;
    z-index: 2;
    pointer-events: auto !important;
}
.videos_player .videos-message .pmpro_content_message a {
    position: relative;
    z-index: 3;
    pointer-events: auto !important;
}

/* Allow clicks through the blocked player to the PMPro restriction links */
.videos_player.blocked {
    pointer-events: none !important;
}
.videos_player.blocked .videos-message,
.videos_player.blocked .videos-message .pmpro_content_message,
.videos_player.blocked .videos-message .pmpro_content_message a {
    pointer-events: auto !important;
}
