/* ================================================================
   访问码弹窗样式
   ================================================================ */

html.ja-popup-open,
body.ja-popup-open {
    overflow: hidden !important;
}

#ja-popup-wrap {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: jaFadeIn 0.25s ease;
}

@keyframes jaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#ja-popup-modal {
    background: #fff;
    padding: 52px 44px 40px;
    max-width: 460px;
    width: calc(100% - 32px);
    border-radius: 3px;
    text-align: center;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.35);
    animation: jaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes jaSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.ja-popup-brand {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 20px;
    font-weight: 500;
}

.ja-popup-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}

.ja-popup-desc {
    font-size: 14px;
    color: #777;
    margin: 0 0 28px;
    line-height: 1.6;
}

.ja-popup-form {
    display: flex;
    gap: 0;
    border: 1.5px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ja-popup-form:focus-within {
    border-color: #111;
}

#ja-code-input {
    flex: 1;
    padding: 13px 16px;
    border: none !important;
    outline: none !important;
    font-size: 15px;
    color: #111;
    background: #fff;
    box-shadow: none !important;
    min-width: 0;
}

#ja-code-input::placeholder {
    color: #bbb;
}

#ja-code-submit {
    padding: 13px 22px;
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    white-space: nowrap;
    transition: background 0.15s !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#ja-code-submit:hover {
    background: #333 !important;
}

#ja-code-submit:disabled {
    background: #aaa !important;
    cursor: not-allowed !important;
}

#ja-code-error {
    min-height: 20px;
    color: #e53e3e;
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.4;
}

/* 价格被锁定时的提示文字 */
.ja-price-locked {
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}
