/* RESET BÁSICO */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f6f8;
    color: #222;
    line-height: 1.4;
}

/* Typography refinement */
body, input, select, button, textarea {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* LINKS */
a {
    color: #2c5cc5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* BOTONES */
button {
    background: #2c5cc5;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
}
button:hover {
    background: #234aa3;
}

/* INPUTS */
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e6;
    border-radius: 8px;
    margin-top: 6px;
    background: #fff;
    font-size: 14px;
    color: #1f2937;
}

.form-inline > * {
    display: inline-block;
    vertical-align: middle;
}

.form-input {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 6px;
}

/* -------- LOGIN -------- */

.login-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: #fff;
    width: 360px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.login-box img {
    max-width: 140px;
    margin-bottom: 20px;
}

.login-box h1 {
    font-size: 20px;
    margin-bottom: 20px;
}

.login-box button {
    width: 100%;
    margin-top: 10px;
}

/* -------- APP LAYOUT -------- */

.app-header {
    background: #fff;
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.app-header img {
    height: 36px;
}

.app-menu a {
    margin-right: 15px;
    font-weight: 500;
}

/* CONTENIDO */
.container {
    padding: 30px;
}

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

/* Action icons */
.actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 6px;
    border-radius: 6px;
    color: #2c5cc5;
    text-decoration: none;
}
.actions a:hover {
    background: rgba(44,92,197,0.08);
}
.actions svg { width: 14px; height: 14px; fill: currentColor; }

td.actions { vertical-align: middle; }

/* Paginator */
.paginator { display:flex; gap:8px; align-items:center; margin-top:12px; }
.paginator a, .paginator strong {
    display:inline-block; padding:6px 10px; border-radius:6px; text-decoration:none; color:#2c5cc5;
}
.paginator a { background: #fff; border:1px solid #e6e9ef; }
.paginator a:hover { background:#eef3ff; }
.paginator strong { background:#2c5cc5; color:#fff; }

/* Small helpers */
.muted { color:#6b7280; }


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

th {
    background: #f0f2f5;
    text-align: left;
    font-weight: 600;
}

tr:hover td {
    background: #fafafa;
}

/* TÍTULOS */
h1 {
    margin-bottom: 20px;
}
