/* Estilos para navegação com overlay - Prognóstico Jurídico */

/* Logo acima do modal */
.logo-top-left {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -320px);
    height: 60px;
    width: auto;
    z-index: 1003;
}

/* Fundo simulado do sistema */
.system-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg-navegacao.jpg');
    background-size: cover;
    z-index: 1000;
}

/* Overlay escuro */
.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

/* Modal do formulário */
.form-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 1002;
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header do formulário */
.form-header {
    text-align: center;
    padding: 30px 40px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    position: relative;
}

/* Logo do modal */
.modal-logo {
    display: block;
    margin: 20px auto 15px auto;
    height: 60px;
    width: auto;
}

/* Título do header */
.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #374151;
    line-height: 1.3;
}

/* Texto da coluna esquerda */
.left-column-text {
    margin-bottom: 25px;
    padding: 0;
}

.left-column-text p {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 24px;
}

/* Conteúdo do formulário */
.form-content {
    padding: 0;
    background: white;
}

/* Lista de funcionalidades */
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #475569;
    line-height: 24px;
}

.features-list li::before {
    content: '✓';
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Layout de colunas */
.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

.form-left-column {
    display: flex;
    flex-direction: column;
}

.form-right-column {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

/* Estilos para a nova estrutura modal-v2 */
.modal-v2-column-left {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    height: 100%;
}

.modal-v2-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-v2-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: white;
}

.modal-v2-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.modal-v2-benefits {
    margin-bottom: 30px;
}

.modal-v2-benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.modal-v2-benefit-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-v2-benefit-text {
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.modal-v2-footer {
    margin-top: auto;
}

.modal-v2-privacy {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.modal-v2-privacy a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.modal-v2-privacy a:hover {
    color: white;
}

/* Responsividade */
@media (max-width: 1023px) {
    .form-left-column {
        display: none;
    }
    
    .form-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .form-overlay {
        max-width: 95%;
        margin: 20px;
    }
    
    .form-header {
        padding: 30px 25px 25px 25px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-content {
        padding: 30px 25px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
