/* ===============================
   ESTILOS GENERALES
=============================== */

body {
    font-family: Arial, sans-serif;
    background: #eef2f6;
    margin: 0;
}

/* CONTENEDOR PRINCIPAL (centra todo) */
.wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===============================
   RESET PARA INPUTS
=============================== */

input[type="text"],
input[type="password"] {
    box-sizing: border-box;
    display: block;
    font-family: inherit;
}

/* ===============================
   LOGIN BOX
=============================== */

.login-box {
    width: 380px;
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    text-align: center;
}

.login-box h2 {
    margin-top: 0 !important;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: bold;
}

/* Inputs centrados */
.login-box input {
    width: 90%;
    max-width: 320px;
    margin: 10px auto 15px auto;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccd1d6;
    background: #fff;
    font-size: 15px;
    color: #333;
}

.login-box input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 3px rgba(34,113,177,0.4);
}

/* ===============================
   BOTÓN
=============================== */

button,
.btn {
    width: 90%;
    max-width: 320px;
    margin: 15px auto 0 auto;
    padding: 12px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease;
    display: block;
}

button:hover,
.btn:hover {
    background: #18588a;
}

/* ===============================
   TABLAS (panel interno)
=============================== */

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
}

.table th {
    background: #2271b1;
    color: #fff;
    font-weight: bold;
}

.table tr:hover td {
    background: #f6f9fc;
}

/* ===============================
   OTROS
=============================== */

.logout {
    float: right;
    color: #c00;
    text-decoration: none;
    font-weight: bold;
}

.logout:hover {
    text-decoration: underline;
}
/* ===============================
   ANTI-EXTENSION OVERLAY FIX
=============================== */

html, body {
    pointer-events: auto !important;
}

* {
    pointer-events: auto !important;
}

