/* ====================================================
   JY CAPTURA — POPUP FRONTEND v3.0
==================================================== */

#jy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99998;
}

#jy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px 28px;
    width: 360px;
    max-width: 95vw;
    z-index: 99999;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    font-family: 'Segoe UI', sans-serif;
}

#jy-fechar {
    position: absolute;
    top: 12px; right: 14px;
    background: none; border: none;
    font-size: 22px; cursor: pointer;
    color: #888;
}
#jy-fechar:hover { color: #333; }

#jy-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.jy-tab {
    flex: 1;
    padding: 8px;
    border: 2px solid #ddd;
    background: #f7f7f7;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all .2s;
}
.jy-tab.active, .jy-tab:hover {
    border-color: #c8a96e;
    background: #c8a96e;
    color: #fff;
}

.jy-subtitulo {
    font-size: 14px;
    color: #555;
    margin: 0 0 16px;
    text-align: center;
}

.jy-campo { margin-bottom: 14px; }
.jy-campo label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #888;
    margin-bottom: 5px;
}
.jy-campo input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s;
}
.jy-campo input:focus {
    outline: none;
    border-color: #c8a96e;
}

.jy-erro {
    font-size: 13px;
    color: #e74c3c;
    min-height: 18px;
    margin-bottom: 8px;
}

#jy-btn-salvar, #jy-btn-retorno {
    width: 100%;
    padding: 12px;
    background: #c8a96e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
#jy-btn-salvar:hover, #jy-btn-retorno:hover { background: #b5914f; }
#jy-btn-salvar:disabled, #jy-btn-retorno:disabled { background: #ccc; cursor: not-allowed; }

.jy-privacidade {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin: 10px 0 0;
}
