/* PrimeCodia Access Gate — shared overlay for call.html / chat.html */
.pc-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 13, 24, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.pc-gate.pc-gate-open { display: flex; }
body.pc-gate-lock { overflow: hidden; }

.pc-gate-box {
    width: 100%;
    max-width: 380px;
    background: #101724;
    border: 1px solid rgba(0, 217, 184, 0.22);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.pc-gate-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 184, 0.12);
    color: #00D9B8;
    font-size: 22px;
}

.pc-gate-box h2 {
    color: #e2e8f0;
    font-size: 19px;
    margin: 0 0 8px;
}

.pc-gate-box p {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.pc-gate-field { text-align: left; margin-bottom: 14px; }
.pc-gate-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}
.pc-gate-field input {
    width: 100%;
    padding: 12px 14px;
    background: #18243a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.pc-gate-field input:focus { border-color: #00D9B8; }
.pc-gate-field input::placeholder { color: #475569; }

.pc-gate-loc-btn {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #00D9B8;
    background: transparent;
    color: #00D9B8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s ease;
}
.pc-gate-loc-btn:hover { background: rgba(0, 217, 184, 0.08); }
.pc-gate-loc-btn:disabled { opacity: .6; cursor: default; }
.pc-gate-loc-btn.pc-gate-loc-done {
    border-color: #00D9B8;
    background: rgba(0, 217, 184, 0.12);
}

.pc-gate-loc-status {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 8px;
    min-height: 16px;
}
.pc-gate-loc-status.pc-gate-loc-ok { color: #00D9B8; }

.pc-gate-error {
    font-size: 12.5px;
    color: #f87171;
    min-height: 16px;
    margin-top: 10px;
}

.pc-gate-continue-btn {
    width: 100%;
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #00D9B8, #00BFA0);
    color: #06120f;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pc-gate-continue-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}
