* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #f4f7f6; color: #333; line-height: 1.6; padding: 15px; }
.container { width: 100%; max-width: 900px; background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin: 0 auto; }
.box-small { max-width: 450px; }
h1 { text-align: center; color: #111; margin-bottom: 25px; font-size: 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid #007bff; padding-bottom: 10px; }
.welcome-text { text-align: center; font-size: 1.1rem; margin-bottom: 20px; color: #555; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; color: #444; }
input, select { width: 100%; padding: 12px; font-size: 1rem; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-family: inherit; }
input:focus, select:focus { border-color: #007bff; outline: none; box-shadow: 0 0 0 3px rgba(0,123,255,0.15); }
button { width: 100%; background-color: #007bff; color: white; padding: 14px; border: none; border-radius: 6px; cursor: pointer; font-size: 1.05rem; font-weight: bold; transition: background 0.2s; }
button:hover { background-color: #0056b3; }
.links-helper { display: flex; justify-content: space-between; margin-top: 15px; font-size: 0.9rem; }
.links-helper a { color: #007bff; text-decoration: none; font-weight: 600; }
.links-helper a:hover { text-decoration: underline; }
.alert { padding: 12px; margin-bottom: 20px; border-radius: 6px; font-weight: 600; text-align: center; font-size: 0.95rem; }
.alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
@media (min-width: 768px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.columna { background: #f8f9fa; border: 1px solid #e2e8f0; padding: 20px; border-radius: 8px; }
.columna h2 { font-size: 1.25rem; color: #007bff; margin-bottom: 15px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 5px; text-transform: uppercase; }
.seccion { background: white; border: 1px solid #e2e8f0; padding: 15px; border-radius: 6px; margin-bottom: 12px; }
.btn-link { display: inline-block; width: 100%; text-align: center; background-color: #28a745; color: white; padding: 10px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.95rem; }
.btn-link:hover { background-color: #218838; }
.logout-container { margin-top: 25px; text-align: center; }
.btn-logout { background-color: #dc3545; padding: 10px 20px; color: white; text-decoration: none; border-radius: 6px; font-weight: bold; display: inline-block; }
.btn-logout:hover { background-color: #bd2130; }
.btn-container { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
@media (min-width: 768px) { .btn-container { flex-direction: row; } button, .btn-cancel { width: auto; padding: 12px 30px; } }
.btn-cancel { display: block; text-align: center; background-color: #6c757d; color: white; padding: 14px; border-radius: 6px; text-decoration: none; font-weight: bold; }
table { width: 100%; border-collapse: collapse; margin-top: 30px; border-radius: 8px; overflow: hidden; }
thead { display: none; }
tr { display: block; background: #fff; border: 1px solid #ddd; margin-bottom: 15px; border-radius: 8px; padding: 10px; }
td { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
td:last-child { border-bottom: none; justify-content: center; gap: 15px; background: #fafafa; margin-top: 5px; }
td::before { content: attr(data-label); font-weight: bold; color: #666; font-size: 0.9rem; }
.actions-cell { display: flex; width: 100%; gap: 10px; }
.btn-edit, .btn-delete { flex: 1; text-align: center; padding: 10px; text-decoration: none; border-radius: 6px; font-size: 0.9rem; font-weight: 600; }
.btn-edit { background-color: #ffc107; color: #212529; }
.btn-delete { background-color: #dc3545; color: white; }
@media (min-width: 768px) { table { display: table; } thead { display: table-header-group; } tr { display: table-row; } th, td { display: table-cell; border: 1px solid #dee2e6; padding: 14px; text-align: left; } th { background-color: #007bff; color: white; } td::before { display: none; } td:last-child { background: transparent; width: 160px; } .actions-cell { gap: 5px; } .btn-edit, .btn-delete { padding: 6px 12px; } }

/* Corrección de comportamiento para el botón del ojo integrado en inputs */
#togglePassword {
    background: none !important;
    border: none !important;
    width: auto !important;
    padding: 5px !important;
    box-shadow: none !important;
}
#togglePassword:hover {
    background: none !important;
    color: #007bff !important;
}
