body.jad-qreg-locked {
    overflow: hidden;
}

.jad-qreg-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.jad-qreg-overlay.open {
    opacity: 1;
    visibility: visible;
}

.jad-qreg-overlay[hidden] {
    display: none !important;
}

.jad-qreg-overlay.open:not([hidden]) {
    display: flex !important;
}

.jad-qreg-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.78);
    backdrop-filter: blur(8px);
}

.jad-qreg-card {
    position: relative;
    width: min(520px, 100%);
    max-height: min(92vh, 780px);
    overflow: auto;
    border-radius: 24px;
    padding: 28px 26px 22px;
    background: linear-gradient(145deg, rgba(18, 24, 38, 0.98), rgba(10, 14, 24, 0.99));
    border: 1px solid rgba(255, 215, 0, 0.28);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 40px rgba(255, 215, 0, 0.08);
    animation: jadQregCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.jad-qreg-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18), transparent 70%);
    pointer-events: none;
}

.jad-qreg-login-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.jad-qreg-login-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #fff;
}

.jad-qreg-locked .jad-qreg-close {
    display: none;
}

.jad-qreg-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}

.jad-qreg-close:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.jad-qreg-hero {
    position: relative;
    text-align: center;
    padding-bottom: 4px;
}

.jad-qreg-hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22), rgba(245, 166, 35, 0.08));
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: #ffd700;
    font-size: 1.35rem;
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.18);
    animation: jadQregIconPulse 2.8s ease-in-out infinite;
}

@keyframes jadQregIconPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.04); }
}

.jad-qreg-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffd700;
    opacity: 0.55;
    pointer-events: none;
}

.jad-qreg-spark-1 { top: 8px; left: 18%; animation: jadQregSpark 3s ease-in-out infinite; }
.jad-qreg-spark-2 { top: 24px; right: 16%; animation: jadQregSpark 3.6s ease-in-out infinite 0.6s; }

@keyframes jadQregSpark {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.9; transform: scale(1.3); }
}

.jad-qreg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
    margin-bottom: 10px;
}

.jad-qreg-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.jad-qreg-title-main {
    display: block;
    background: linear-gradient(90deg, #fff 0%, #f5f5f5 40%, #ffd700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: jadQregTitleShine 4s linear infinite;
}

.jad-qreg-title-accent {
    display: inline-block;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1400;
    background: linear-gradient(135deg, #ffe566, #ffd700, #f5a623);
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
    animation: jadQregAccentPop 2.2s ease-in-out infinite;
}

@keyframes jadQregTitleShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes jadQregAccentPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.jad-qreg-sub {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

.jad-qreg-steps {
    display: flex;
    gap: 8px;
    margin: 18px 0 16px;
    flex-wrap: wrap;
}

.jad-qreg-step {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 8px 6px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s;
}

.jad-qreg-step.active {
    color: #1a1400;
    background: linear-gradient(135deg, #ffd700, #f5a623);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.25);
}

.jad-qreg-pane {
    display: none;
}

.jad-qreg-pane.active {
    display: block;
    animation: jadQregPaneIn 0.3s ease;
}

@keyframes jadQregPaneIn {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

.jad-qreg-label {
    display: block;
    margin: 12px 0 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jad-qreg-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.jad-qreg-input-wrap > i {
    position: absolute;
    left: 14px;
    color: rgba(255, 215, 0, 0.65);
    font-size: 0.9rem;
    pointer-events: none;
}

.jad-qreg-prefix {
    position: absolute;
    left: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
}

.jad-qreg-input,
.jad-qreg-select {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.jad-qreg-input.jad-qreg-mobile {
    padding-left: 72px;
}

.jad-qreg-select {
    padding-left: 14px;
    cursor: pointer;
}

.jad-qreg-input:focus,
.jad-qreg-select:focus {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.jad-qreg-input.jad-qreg-input-error,
.jad-qreg-input-wrap:has(.jad-qreg-input-error) .jad-qreg-input {
    border-color: rgba(255, 107, 107, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.jad-qreg-section-label {
    margin: 16px 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jad-qreg-section-label i {
    margin-right: 6px;
}

.jad-qreg-hint {
    margin: 10px 0 0;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.45);
}

.jad-qreg-hint i {
    color: rgba(255, 215, 0, 0.6);
    margin-right: 4px;
}

.jad-qreg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 13px 18px;
    border: none;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.jad-qreg-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.jad-qreg-btn-primary {
    color: #1a1400;
    background: linear-gradient(135deg, #ffe566, #ffd700, #f5a623);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.28);
}

.jad-qreg-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 215, 0, 0.35);
}

.jad-qreg-btn-ghost {
    margin-top: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.jad-qreg-login-link {
    text-align: center;
    margin: 14px 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.jad-qreg-login-link a {
    color: #ffd700;
    font-weight: 700;
    text-decoration: none;
}

.jad-qreg-otp-msg {
    text-align: center;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
}

.jad-qreg-otp-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.jad-qreg-otp-digit {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    outline: none;
}

.jad-qreg-otp-digit:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.jad-qreg-recaptcha {
    display: flex;
    justify-content: center;
    min-height: 0;
    margin: 8px 0;
}

.jad-qreg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.jad-qreg-location .jad-qreg-input,
.jad-qreg-location .loc-autocomplete-wrap .jad-qreg-input {
    padding-left: 14px;
}

.jad-qreg-location .row {
    margin: 0 -6px;
}

.jad-qreg-location .row > [class*="col-"] {
    padding: 0 6px;
}

.jad-qreg-detect {
    margin-top: 8px;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.08);
    color: #ffd700;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.jad-qreg-toggle-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.jad-qreg-pill {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.jad-qreg-pill.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.jad-qreg-exp-fields {
    margin-top: 4px;
}

.jad-qreg-success {
    text-align: center;
    padding: 20px 10px;
}

.jad-qreg-success-icon {
    font-size: 3rem;
    color: #4ade80;
    margin-bottom: 12px;
}

.jad-qreg-success h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.4rem;
}

.jad-qreg-success p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px;
}

.jad-qreg-error {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 0.82rem;
}

.jad-qreg-loading {
    text-align: center;
    margin: 10px 0 0;
    color: rgba(255, 215, 0, 0.8);
    font-size: 0.85rem;
}

@media (max-width: 520px) {
    .jad-qreg-card {
        padding: 22px 18px 18px;
        border-radius: 20px;
    }
    .jad-qreg-grid {
        grid-template-columns: 1fr;
    }
    .jad-qreg-otp-digit {
        width: 40px;
        height: 48px;
    }
}