/*
Theme Name: Administración EPM
Author: Ingeniería WEB
Description: Sistema administrativo y de control de inventario interno para la tienda.
Version: 2.1 (Light Theme Corporativo + Estructura)
*/

/* ==========================================================================
   1. RESET GLOBAL Y TEMA CLARO
   ========================================================================== */
body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f8 !important; /* Gris ultra claro corporativo */
    background-image: none !important;
    color: #2c3e50 !important;
    min-height: 100vh !important;
}

.site-main, #page, .site-content, .entry-content, .hentry, .post, .page {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ocultar el título feo que pone WordPress por defecto arriba del módulo */
.entry-title, h1.page-title {
    display: none !important;
}

/* ==========================================================================
   2. ESTRUCTURA GLOBAL DEL SISTEMA (Contenedores)
   ========================================================================== */
.epm-dashboard {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Tarjeta Blanca (Nuevo Estándar Corporativo) */
.epm-light-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Tarjeta Oscura (Dejamos esto temporalmente para que el catálogo no se rompa más) */
.epm-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 30px;
    color: white;
}

/* ==========================================================================
   3. DISEÑO DEL LOGIN INDEPENDIENTE
   ========================================================================== */
.epm-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.epm-login-box {
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.epm-login-header h1 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
    color: #1e293b;
    font-weight: 800;
}

.epm-login-header p {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-bottom: 35px;
}

#epmloginforma label { 
    display: block; 
    margin-bottom: 8px; 
    font-size: 12px; 
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

#epmloginforma input[type="text"], 
#epmloginforma input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

#epmloginforma input[type="text"]:focus, 
#epmloginforma input[type="password"]:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.login-remember {
    margin-bottom: 25px;
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
}

.login-submit { margin: 0; }

#wp-submit {
    width: 100%;
    padding: 14px;
    background: #3498db;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#wp-submit:hover { 
    background: #2980b9; 
    transform: translateY(-2px);
}