/*
==============================================
Estilos Globales y Paleta de Colores PDFMax
==============================================
Azul Primario: #3B70A2
Azul Oscuro (Contrastes): #1D3B58
Cian Vibrante (Acción/CTA): #00C2D1
Blanco Puro: #FFFFFF
Gris Neutro Claro: #F4F6F8
Gris Texto Secundario: #6C757D
==============================================
*/

body {
    overflow: hidden; /* Evita el scroll por defecto */
}

/* ------------------- */
/* Estilos Login (login.php) */
/* ------------------- */
.login-page {
    background-color: #F4F6F8; /* Gris Neutro Claro para el fondo general */
    padding: 1rem;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Ancho máximo de la tarjeta */
    min-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Para que los bordes redondeados se apliquen a los hijos */
}

.left-panel {
    /* La imagen ahora es el fondo */
    background-image: url('../img/panel.png');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinea el texto en la parte inferior */
    position: relative;
}

/* Superposición oscura para legibilidad del texto */
.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(29, 59, 88, 0.8), rgba(59, 112, 162, 0.5)); /* Degradado oscuro */
    z-index: 1;
}

.right-panel {
    background-color: #FFFFFF; /* Blanco Puro */
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.left-panel .promo-text {
    position: relative;
    z-index: 2;
}


.right-panel .form-control {
    background-color: #F4F6F8; /* Gris Neutro Claro */
    border-color: #dee2e6;
    border-radius: 8px;
}

.right-panel .form-floating > label {
    color: #6C757D; /* Gris Texto Secundario */
}

.right-panel .btn-primary {
    background-color: #00C2D1; /* Cian Vibrante */
    border-color: #00C2D1;
    font-weight: bold;
    padding: 0.75rem;
    border-radius: 8px;
}

.right-panel .btn-primary:hover {
    background-color: #009aa9; /* Un poco más oscuro en hover */
    border-color: #009aa9;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6C757D;
}

/* Responsividad */
@media (max-width: 768px) {
    .left-panel {
        display: none; /* Ocultar panel izquierdo en móviles */
    }
}

/* ------------------- */
/* Estilos Editor (EditorView.php) */
/* ------------------- */
.editor-page body {
    background-color: #525659;
}

.editor-page #canvas-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.editor-page .canvas-container {
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}