/**
 * EducaMaisRO - Página Login
 * Arquivo: assets/css/emro-index.css
 */

body.emro-login-wrapper {
    background: linear-gradient(135deg, #002f5c 0%, #004a8d 100%);
    display: flex; 
    justify-content: center; 
    align-items: center;
    min-height: 100vh; 
    margin: 0; 
    padding: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.emro-login-container {
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    width: 100%; 
    max-width: 380px; 
    overflow: hidden;
}

.emro-login-header { 
    text-align: center; 
    padding: 15px 20px; 
    background: #ffffff; 
    border-bottom: 1px solid #f0f0f0; 
}

.emro-login-header img { 
    max-width: 170px; 
    height: auto; 
    display: inline-block; 
}

.emro-login-body { 
    background: #fafafa; 
    padding-bottom: 15px; 
}

.emro-login-tabs { 
    display: flex; 
    border-bottom: 1px solid #eee; 
    margin-bottom: 15px; 
    background: #f1f1f1; 
}

.tab-btn { 
    flex: 1; 
    padding: 12px; 
    border: none; 
    background: none; 
    font-weight: bold; 
    color: #777; 
    cursor: pointer; 
    font-size: 0.85em; 
    text-transform: uppercase; 
    transition: 0.2s; 
}

.tab-btn.active { 
    color: #1565c0; 
    border-bottom: 3px solid #1565c0; 
    background: #fafafa; 
}

.tab-content { 
    display: none; 
    padding: 0 25px; 
}

.tab-content.active { 
    display: block; 
}

.emro-login-form-group { 
    margin-bottom: 12px !important; 
}

.emro-login-form-group label { 
    display: block; 
    margin-bottom: 4px !important; 
    font-size: 0.85em; 
    font-weight: 600; 
    color: #444; 
}

#secao-senha-aluno, #secao-validar-dados, #secao-criar-senha-aluno { 
    display: none; 
    margin-top: 10px; 
    padding-top: 10px; 
    border-top: 1px dashed #ddd; 
}

.msg-sucesso-matricula { 
    color: #2e7d32; 
    font-weight: bold; 
    font-size: 0.85em; 
    margin-bottom: 10px; 
    text-align: center; 
}

.row-emro { 
    display: flex; 
    gap: 8px; 
}

.row-emro > div { 
    flex: 1; 
}

.emro-hp-gate { 
    position: absolute !important; 
    left: -9999px !important; 
    opacity: 0 !important; 
    z-index: -1 !important; 
}

.input-wrapper { 
    position: relative; 
}

.toggle-field-icon { 
    position: absolute; 
    right: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    color: #aaa; 
    width: 18px; 
    height: 18px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.toggle-field-icon:hover { 
    color: #1565c0; 
}

.icon-eye-closed { 
    display: none; 
}

.emro-login-btn { 
    padding: 12px !important; 
    font-size: 1em !important; 
    margin-top: 5px; 
    cursor: pointer; 
    width: 100%; 
    border: none; 
    border-radius: 6px; 
    background: #1565c0; 
    color: #fff; 
    font-weight: bold; 
    transition: 0.3s;
}

.emro-login-btn:hover { 
    background: #0d47a1; 
}

.link-secundario { 
    display: block; 
    text-align: center; 
    margin-top: 12px; 
    font-size: 0.85em; 
    color: #004a8d; 
    text-decoration: none; 
    font-weight: 600; 
}

.emro-login-footer {
    padding: 12px; 
    background: #fafafa; 
    color: #ccc; 
    text-align: center; 
    font-size: 0.75em; 
    border-top: 1px solid #eee;
}

.emro-login-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}