:root {
    --primary-color: #003b5c;
    --secondary-color: #005a87;
    --background-color: #eef2f6;
    --error-color: #d32f2f;
}

body {
    margin: 0;
    padding: 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #003b5c, #005a87);
}

.card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 25px;
    padding-top: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.logo-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 90px;
}

h1 {
    color: var(--primary-color);
    font-size: 20px;
    text-align: left;
    margin-top: -20px;
    margin-bottom: 0px;
}

.error {
    color: var(--error-color);
    font-size: 14px;
    min-height: 18px;
}

input {
    width: 95%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type=submit], button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

button {
    margin: 5px;
    box-sizing: border-box;
    border-radius: 6px;
}

.footer {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

.change-pass-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.change-pass-checkbox {
    width: auto;
    margin: 0;
}

.change-pass-text {
    font-weight: bold;
    color: var(--primary-color);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}


.popup-box input {
    width: calc(100% - 10px);
    margin-right: 10px;
}

.hidden {
    display: none;
}

/* =========================
   MENUS
   ========================= */

.menu a,
.nav a {
    display: block;
    padding: 12px;
    margin: 8px 0;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.menu a {
    text-align: left;
    width: 250px;
}

.menu a:hover,
.nav a:hover {
    background: var(--primary-color);
}

.nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
}


/* =========================
   TABLAS CONSULTA
   ========================= */

table {
    border-collapse: collapse;
    width: 100%;
    background: white;
    margin-top: -20px;
}

th {
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

td {
    border: 1px solid #ccc;
    padding: 4px;
    text-align: left;
    font-size: 12px;
    font-weight: normal;
}

tbody tr:nth-child(even) {
    background: #cfe3f1;
}

td:first-child {
    text-align: center;
}

ttbody tr {
    cursor: pointer;
}

tbody tr:hover {
    background-color: #bcf5aa;
}
/* =========================
   TITULOS
   ========================= */

.card h1 {
    color: var(--primary-color);
}
