/* =====================================================
   🌌 LÚMINA ASTRAE — MODAL ULTRA ELEGANTE
   Versão Responsiva / Glassmorphism / Tons Astrais
===================================================== */

/* -------------------------------
   FUNDO DA TELA (overlay)
--------------------------------*/
#lumina-modal-overlay {
    display: none; /* aparece via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 2, 25, 0.80);
    backdrop-filter: blur(6px);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease forwards;
}

/* -------------------------------
   CONTAINER DO MODAL
--------------------------------*/
#lumina-modal {
    width: 95%;
    max-width: 480px;
    background: rgba(30, 8, 60, 0.65);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(120, 60, 255, 0.65);
    border: 1px solid rgba(150, 110, 255, 0.25);
    position: relative;
    animation: slideUp 0.35s ease;
    color: white;
}

/* Mobile full screen */
@media (max-width: 600px) {
    #lumina-modal {
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        padding: 30px 20px;
        overflow-y: auto;
        box-shadow: none;
        border: none;
    }
}

/* -------------------------------
   BOTÃO DE FECHAR
--------------------------------*/
#lumina-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    transition: 0.2s;
}
#lumina-close:hover {
    transform: scale(1.2);
    color: #ff66ff;
}

/* -------------------------------
   TÍTULO
--------------------------------*/
#lumina-modal h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
    color: #e9d7ff;
    text-shadow: 0 0 12px rgba(170, 120, 255, 0.8);
}

/* -------------------------------
   CAMPO DE ENTRADA (TEXTO)
--------------------------------*/
#lumina-text-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
    resize: none;
    height: 90px;
}
#lumina-text-input::placeholder {
    color: #c7b7ff;
}

/* -------------------------------
   BOTÕES
--------------------------------*/
.lumina-btn {
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    border: none;
    font-size: 17px;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    transition: 0.25s;
    letter-spacing: 0.5px;
}

/* Principal — degradê astral */
.lumina-btn-primary {
    background: linear-gradient(135deg, #6b0aff, #a74bff);
    box-shadow: 0 0 10px rgba(140, 60, 255, 0.6);
}
.lumina-btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 0 16px rgba(160, 90, 255, 0.85);
}

/* Gravar (estado vermelho) */
.lumina-btn-record {
    background: linear-gradient(135deg, #ff1b62, #ff4b8a);
    box-shadow: 0 0 12px rgba(255, 60, 120, 0.6);
}
.lumina-btn-record.recording {
    background: linear-gradient(135deg, #d40b4a, #ff1b62);
    animation: pulseRecord 1s infinite;
}

/* Processando (amarelo) */
.lumina-btn-wait {
    background: linear-gradient(135deg, #ffcc33, #ffb600);
    color: #3a2600 !important;
    cursor: wait !important;
}

/* -------------------------------
   ÁREA DE TRANSCRIÇÃO E RESPOSTA
--------------------------------*/
#lumina-transcricao,
#lumina-resposta {
    background: rgba(255,255,255,0.06);
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #f3e8ff;
    border-left: 3px solid #b57dff;
}

/* -------------------------------
   Animações
--------------------------------*/
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0px); opacity: 1; }
}
@keyframes pulseRecord {
    0% { box-shadow: 0 0 8px rgba(255, 60, 120, 0.4); }
    50% { box-shadow: 0 0 16px rgba(255, 60, 120, 0.8); }
    100% { box-shadow: 0 0 8px rgba(255, 60, 120, 0.4); }
}

/* Remover header e footer apenas da página de cadastro */
.page-id-4293 header,
.page-id-4293 #masthead,
.page-id-4293 .main-header-bar-wrap,
.page-id-4293 .site-header,
.page-id-4293 footer,
.page-id-4293 .site-footer,
.page-id-4293 .ast-header-break-point {
    display: none !important;
}

/* ==============================
   Estilo do Modal Cadastro Lúmina
   ============================== */
body.page-template-page-cadastre-se {
    background: #820ad1 !important;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lumina-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://luminauniversointerior.online/wp-content/uploads/2025/09/estrelas.png') center/cover no-repeat;
    opacity: 0.2; /* intensidade das estrelas */
    pointer-events: none;
}

.lumina-form-wrapper h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #ffb74d;
    text-shadow: 0 0 8px #ffb74d;
}

/* Inputs com ícones */
.lumina-form-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #6a1b9a;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.lumina-form-wrapper input:focus {
    border-color: #ffb74d;
    box-shadow: 0 0 12px #ffb74d;
    outline: none;
}

/* Ícones nos inputs (exemplo usando pseudo-elemento) */
.lumina-form-wrapper input[name="nome"]::placeholder { padding-left: 30px; }
.lumina-form-wrapper input[name="email"]::placeholder { padding-left: 30px; }
.lumina-form-wrapper input[name="senha"]::placeholder { padding-left: 30px; }

/* Botão animado */
.lumina-form-wrapper button {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff9800, #ffb74d);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lumina-form-wrapper button::after {
    content: '';
    position: absolute;
    width: 120%; height: 100%;
    background: rgba(255,255,255,0.2);
    top: 0; left: -120%;
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.lumina-form-wrapper button:hover::after {
    left: 120%;
}

.lumina-form-wrapper button:hover {
    opacity: 0.9;
}

/* Feedback */
#feedback-cadastro {
    margin-top: 18px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
    text-align: center;
}

/* Logo */
.lumina-form-wrapper .logo {
    max-width: 100px;
    display: block;
    margin: 0 auto 25px auto;
}

/* Ajuste responsivo */
@media(max-width:480px){
    .lumina-form-wrapper {
        padding: 30px 20px;
    }
    .lumina-form-wrapper h2 {
        font-size: 1.5rem;
    }
}

/* ==============================
   Estilo do Modal Cadastro Lúmina
   ============================== */
body.page-template-page-cadastre-se {
    background: #820ad1 !important;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lumina-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://luminauniversointerior.online/wp-content/uploads/2025/09/estrelas.png') center/cover no-repeat;
    opacity: 0.2; /* intensidade das estrelas */
    pointer-events: none;
}

.lumina-form-wrapper h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #ffb74d;
    text-shadow: 0 0 8px #ffb74d;
}

/* Inputs com ícones */
.lumina-form-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #6a1b9a;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.lumina-form-wrapper input:focus {
    border-color: #ffb74d;
    box-shadow: 0 0 12px #ffb74d;
    outline: none;
}

/* Ícones nos inputs (exemplo usando pseudo-elemento) */
.lumina-form-wrapper input[name="nome"]::placeholder { padding-left: 30px; }
.lumina-form-wrapper input[name="email"]::placeholder { padding-left: 30px; }
.lumina-form-wrapper input[name="senha"]::placeholder { padding-left: 30px; }

/* Botão animado */
.lumina-form-wrapper button {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff9800, #ffb74d);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lumina-form-wrapper button::after {
    content: '';
    position: absolute;
    width: 120%; height: 100%;
    background: rgba(255,255,255,0.2);
    top: 0; left: -120%;
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.lumina-form-wrapper button:hover::after {
    left: 120%;
}

.lumina-form-wrapper button:hover {
    opacity: 0.9;
}

/* Feedback */
#feedback-cadastro {
    margin-top: 18px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
    text-align: center;
}

/* Logo */
.lumina-form-wrapper .logo {
    max-width: 100px;
    display: block;
    margin: 0 auto 25px auto;
}

/* Ajuste responsivo */
@media(max-width:480px){
    .lumina-form-wrapper {
        padding: 30px 20px;
    }
    .lumina-form-wrapper h2 {
        font-size: 1.5rem;
    }
}