﻿:root {
    --navy-900: #0b2545;
    --navy-800: #12355b;
    --navy-700: #1d4e89;
    --blue-500: #1e88ff;
    --blue-600: #1669d8;
    --panel-bg: #f3f5f8;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-soft: #667085;
    --line: #d8dee8;
    --success: #179c52;
    --warning: #f59e0b;
    --danger: #d43c3c;
    --teal: #17827c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: var(--text-main);
}

.auth-body {
    min-height: 100vh;
    background: #14577a;
}

.login-screen {
    background: #14577a;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 6px;
    font-size: 36px;
    color: #111827;
}

h2 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: min(100%, 320px);
    padding: 46px 30px 52px;
    border-radius: 3px;
    background: #3b8dbd;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
    color: #d7edf8;
}

.login-screen .auth-card {
    width: min(100%, 320px);
    min-height: 380px;
    padding: 48px 30px 44px;
    background: #3b8dbd;
}

.auth-logo {
    display: none;
}

.auth-kicker {
    margin-bottom: 8px;
    color: rgba(214, 246, 255, 0.8);
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.auth-card h1 {
    margin-bottom: 28px;
    font-size: 38px;
    text-align: center;
    color: #d7edf8;
    font-weight: normal;
}

.login-screen .auth-card h1 {
    margin-bottom: 28px;
    font-size: 38px;
    line-height: 1.1;
}

.member-login-screen {
    min-height: 100vh;
    background:
        radial-gradient(circle at 32% 0%, rgba(112, 217, 216, 0.7), transparent 24%),
        radial-gradient(circle at 48% 36%, rgba(93, 189, 194, 0.82), transparent 32%),
        radial-gradient(circle at 18% 72%, rgba(78, 179, 190, 0.78), transparent 30%),
        radial-gradient(circle at 82% 72%, rgba(8, 30, 52, 0.9), transparent 34%),
        linear-gradient(135deg, #061b35 0%, #0b2e4d 48%, #0a1d35 100%);
}

.member-login-screen .auth-shell {
    align-items: center;
    padding: 32px 20px;
}

.member-login-screen .auth-card {
    width: min(100%, 430px);
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
}

.member-login-screen .auth-card h1 {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 300;
    text-align: center;
}

.member-icon {
    position: relative;
    width: 230px;
    height: 150px;
    margin: 0 auto 36px;
}

.person {
    position: absolute;
    border: 5px solid #ffffff;
    border-bottom: 0;
}

.person::before {
    content: "";
    position: absolute;
    left: 50%;
    border: 5px solid #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
}

.person-main {
    left: 61px;
    bottom: 0;
    width: 108px;
    height: 66px;
    border-radius: 56px 56px 0 0;
    z-index: 2;
}

.person-main::before {
    top: -86px;
    width: 70px;
    height: 70px;
}

.person-left,
.person-right {
    bottom: 14px;
    width: 70px;
    height: 44px;
    border-radius: 40px 40px 0 0;
    z-index: 1;
}

.person-left {
    left: 4px;
}

.person-right {
    right: 4px;
}

.person-left::before,
.person-right::before {
    top: -50px;
    width: 40px;
    height: 40px;
}

.member-login-screen .auth-form {
    gap: 18px;
}

.member-login-screen .member-field {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 0;
    font-size: 0;
}

.member-login-screen .field-icon {
    min-height: 58px;
    background: rgba(8, 49, 72, 0.74);
    position: relative;
}

.member-login-screen .field-icon::before,
.member-login-screen .field-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.member-login-screen .user-icon::before {
    top: 15px;
    width: 15px;
    height: 15px;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.member-login-screen .user-icon::after {
    bottom: 14px;
    width: 23px;
    height: 16px;
    border: 2px solid #ffffff;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
}

.member-login-screen .lock-icon::before {
    top: 26px;
    width: 18px;
    height: 17px;
    border: 2px solid #ffffff;
    border-radius: 2px;
}

.member-login-screen .lock-icon::after {
    top: 14px;
    width: 14px;
    height: 16px;
    border: 2px solid #ffffff;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
}

.member-login-screen .auth-form input[type="text"],
.member-login-screen .auth-form input[type="password"] {
    height: 58px;
    padding: 12px 18px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #243341;
    font-size: 24px;
    font-weight: 300;
}

.member-login-screen .auth-form input::placeholder {
    color: #8d8f94;
}

.member-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-size: 16px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.remember-option input {
    width: 16px;
    height: 16px;
    accent-color: #ffffff;
}

.member-options a {
    color: #ffffff;
    text-decoration: underline;
}

.member-login-screen .auth-form button {
    height: 66px;
    margin-top: 8px;
    border-radius: 0;
    background: rgba(7, 40, 62, 0.78);
    color: #ffffff;
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-login-screen .auth-form button:hover {
    background: rgba(4, 30, 48, 0.9);
}

.member-login-screen .auth-links {
    margin-top: 18px;
}

.member-login-screen .auth-links a {
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-decoration: underline;
}

.wordpress-login-screen {
    min-height: 100vh;
    background: #f0f0f1;
    color: #3c434a;
}

.wordpress-login-screen .auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 20px 32px;
}

.wordpress-logo {
    width: 92px;
    height: 92px;
    margin: 0 0 36px;
    object-fit: contain;
    border-radius: 50%;
}

.wordpress-login-screen .auth-card {
    width: min(100%, 420px);
    padding: 28px 32px 34px;
    border: 1px solid #c3c4c7;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #3c434a;
}

.wordpress-login-screen .alerta {
    margin-bottom: 22px;
}

.wordpress-login-screen .auth-form {
    display: grid;
    gap: 22px;
}

.wordpress-login-screen .auth-form label {
    display: grid;
    gap: 9px;
    color: #3c434a;
    font-size: 20px;
    font-weight: 600;
}

.wordpress-login-screen .auth-form input[type="text"],
.wordpress-login-screen .auth-form input[type="password"] {
    width: 100%;
    height: 54px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    background: #ffffff;
    color: #2c3338;
    font-size: 22px;
    box-shadow: 0 0 0 transparent;
}

.wordpress-login-screen .auth-form input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.password-wrap {
    position: relative;
    display: block;
}

.password-wrap input {
    padding-right: 50px;
}

.eye-button {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.eye-button:hover,
.eye-button:focus,
.eye-button:active {
    background: transparent !important;
    box-shadow: none;
    outline: none;
}

.eye-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 15px;
    border: 2px solid #2271b1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.eye-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2271b1;
    transform: translate(-50%, -50%);
}

.eye-button.is-visible .eye-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    width: 30px;
    height: 2px;
    background: #2271b1;
    transform: rotate(-35deg);
}

.wordpress-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 2px;
}

.register-button {
    min-height: 45px;
    padding: 9px 18px;
    border-radius: 4px;
    background: #50575e;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.register-button:hover {
    background: #3c434a;
    color: #ffffff;
    text-decoration: none;
}

.wordpress-login-screen .remember-option {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 11px;
    color: #3c434a;
    font-size: 20px;
    font-weight: 600;
}

.wordpress-login-screen .remember-option input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #2271b1;
}

.wordpress-login-screen .auth-form button {
    width: auto;
    min-height: 45px;
    margin: 0;
    padding: 8px 20px;
    border-radius: 4px;
    background: #2271b1;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.wordpress-login-screen .auth-form button:hover {
    background: #135e96;
}

.wordpress-links {
    width: min(100%, 420px);
    align-items: flex-start;
    gap: 10px;
    margin-top: 28px;
}

.wordpress-links a {
    color: #50575e;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.wordpress-links a:hover {
    color: #2271b1;
    text-decoration: underline;
}

.inventory-login-screen {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(11, 37, 69, 0.96), rgba(18, 53, 91, 0.92)),
        #0f172a;
    color: var(--text-main);
}

.inventory-login-screen .auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.inventory-login-screen .auth-card {
    width: min(100%, 440px);
    padding: 0;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: #ffffff;
}

.login-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}

.inventory-login-screen .topbar-label {
    margin: 22px 26px 4px;
    color: var(--blue-600);
    font-weight: bold;
}

.inventory-login-screen .auth-card h1 {
    margin: 0 26px 22px;
    color: #111827;
    font-size: 28px;
    font-weight: bold;
    text-align: left;
}

.inventory-login-screen .alerta {
    margin: 0 26px 18px;
}

.inventory-login-screen .auth-form {
    display: grid;
    gap: 16px;
    padding: 0 26px 26px;
}

.inventory-login-screen .auth-form label {
    display: grid;
    gap: 8px;
    color: #344054;
    font-size: 14px;
    font-weight: bold;
}

.inventory-login-screen .auth-form input[type="text"],
.inventory-login-screen .auth-form input[type="password"],
.inventory-login-screen .auth-form select {
    width: 100%;
    height: 44px;
    padding: 10px 42px 10px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    background: #ffffff;
    color: var(--text-main);
    font-size: 14px;
}

.inventory-login-screen .auth-form input:focus,
.inventory-login-screen .auth-form select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(30, 136, 255, 0.15);
}

.inventory-login-screen .wordpress-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.inventory-login-screen .register-button,
.inventory-login-screen .auth-form button {
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.inventory-login-screen .register-button {
    background: #64748b;
    color: #ffffff;
}

.inventory-login-screen .register-button:hover {
    background: #475569;
}

.inventory-login-screen .auth-form button {
    width: auto;
    margin: 0;
    background: var(--blue-500);
    color: #ffffff;
    text-transform: none;
    box-shadow: 0 4px 10px rgba(30, 136, 255, 0.16);
}

.inventory-login-screen .auth-form button:hover {
    background: var(--blue-600);
}

.inventory-login-links {
    width: min(100%, 440px);
    align-items: flex-start;
    margin-top: 14px;
}

.inventory-login-links a {
    color: #dbeafe;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.inventory-login-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sede-select-card {
    width: min(100%, 520px);
}

.sede-select-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0 26px 24px;
}

.sede-select-button {
    min-height: 88px;
    align-items: center;
    justify-content: center;
    display: inline-flex;
    background: #17827c;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(23, 130, 124, 0.22);
}

.sede-select-button:hover {
    background: #126a65;
}

.sede-select-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 26px 18px;
    border-top: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: bold;
}

.sede-select-footer a {
    color: var(--blue-600);
    text-decoration: none;
}

.sede-select-footer a:hover {
    text-decoration: underline;
}

.auth-form {
    display: grid;
    gap: 10px;
}

.auth-form label {
    display: grid;
    gap: 5px;
    color: rgba(220, 247, 255, 0.86);
    font-size: 0;
    font-weight: normal;
}

.auth-form input,
.auth-form button {
    width: 100%;
}

.auth-form input {
    height: 40px;
    padding: 10px 12px;
    border: 0;
    border-radius: 3px;
    background: #ffffff;
    color: #1f2937;
    box-shadow: none;
}

.auth-form input::placeholder {
    color: #cfd8df;
}

.auth-form input:focus {
    box-shadow: 0 0 0 3px rgba(181, 224, 246, 0.38);
}

.auth-form button {
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    padding: 9px 14px;
    border-radius: 3px;
    background: #b8def4;
    color: #1f2937;
    font-size: 16px;
    font-weight: normal;
    text-transform: none;
    box-shadow: none;
}

.auth-form button:hover {
    background: #a9d4ed;
}

.auth-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
}

.auth-links a {
    color: #d7edf8;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--navy-900), #091b32);
    color: #ffffff;
    padding: 18px 14px;
    box-shadow: 6px 0 18px rgba(0, 0, 0, 0.18);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px;
}

.sidebar-title {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.sidebar-subtitle {
    margin: 2px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.version-label {
    display: inline-block;
    margin: 5px 0 0;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(219, 234, 254, 0.76);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
}

.nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #dbeafe;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: #ffffff;
}

.main-area {
    flex: 1;
    background: var(--panel-bg);
    min-width: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(30, 136, 255, 0.28);
}

.menu-toggle {
    display: none;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    box-shadow: none;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.26);
}

.topbar h1 {
    color: #ffffff;
    font-size: 18px;
    margin: 2px 0 0;
}

.topbar-label {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
}

.topbar-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffe082;
    color: #5d4037;
    font-size: 12px;
    font-weight: bold;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.logout-button {
    background: #d43c3c;
    box-shadow: none;
    font-size: 12px;
    font-weight: bold;
}

.logout-button:hover {
    background: #b72d2d;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    padding: 18px 24px 0;
}

.sede-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 24px 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--teal);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.sede-bar .topbar-label {
    color: var(--text-soft);
}

.sede-bar strong {
    display: block;
    margin-top: 3px;
    color: #111827;
    font-size: 18px;
}

.sede-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sede-button {
    min-width: 112px;
    text-align: center;
    background: #64748b;
    box-shadow: none;
}

.sede-button:hover {
    background: #475569;
}

.sede-button.active,
.sede-button.active:hover {
    background: var(--teal);
}

.sede-badge {
    background: #dcfce7;
    color: #166534;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #2c313a;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.mini-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.mini-card p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.74);
}

.mini-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.mini-card-icon.blue {
    background: #1e88ff;
}

.mini-card-icon.green {
    background: #26a69a;
}

.mini-card-icon.orange {
    background: #ff9800;
}

.container {
    margin: 18px 24px 24px;
}

.panel {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.panel-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.helper-text {
    margin-bottom: 14px;
    color: var(--text-soft);
    font-size: 14px;
}

.helper-status {
    margin: 12px 0 0;
    min-height: 20px;
    color: #b42318;
    font-size: 14px;
    font-weight: bold;
}

.helper-status.success {
    color: #087443;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
}

.form-grid,
.search-form,
.acciones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

input,
select,
button,
.button-link {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #cfd8e3;
    font-size: 14px;
    text-decoration: none;
}

input {
    background: #ffffff;
    color: var(--text-main);
}

input[readonly] {
    background: #eef2f7;
    color: #475467;
    cursor: not-allowed;
}

select {
    background: #ffffff;
    color: var(--text-main);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(30, 136, 255, 0.15);
}

.form-grid input {
    flex: 1 1 180px;
}

.form-grid .ubicacion-field {
    flex: 1 1 220px;
    min-width: 220px;
    position: relative;
}

.ubicacion-input-row {
    display: flex;
    gap: 8px;
}

.ubicacion-input-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.ubicacion-list-button {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.ubicacion-list-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.ubicacion-list-title {
    margin: 6px 6px 5px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ubicacion-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.ubicacion-option-button,
.ubicacion-delete-button {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 6px;
    box-shadow: none;
    font-size: 13px;
}

.ubicacion-option-button {
    width: 100%;
    background: #eef4ff;
    color: #1f2937;
    text-align: left;
}

.ubicacion-option-button:hover {
    background: #dbeafe;
}

.ubicacion-delete-button {
    background: #fef3f2;
    color: #b42318;
}

.ubicacion-delete-button:hover {
    background: #fee4e2;
}

.ubicacion-empty {
    margin: 8px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: bold;
}

.ubicacion-list-panel.is-hidden,
.ubicacion-list-group.is-hidden,
.ubicacion-list-item.is-hidden,
.ubicacion-empty.is-hidden {
    display: none;
}

.user-reset-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.user-reset-form input {
    min-width: 150px;
}

.user-reset-form select {
    min-width: 150px;
}

.search-form input {
    min-width: 220px;
}

.filter-form input[type="date"] {
    min-width: 170px;
}

button,
.button-link {
    background: var(--blue-500);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(30, 136, 255, 0.16);
}

button:hover,
.button-link:hover {
    background: var(--blue-600);
}

.secondary {
    background: #64748b;
}

.secondary:hover {
    background: #475569;
}

.success {
    background: var(--success);
}

.success:hover {
    background: #118847;
}

.info {
    background: var(--teal);
}

.info:hover {
    background: #126a65;
}

.warning {
    background: var(--warning);
}

.warning:hover {
    background: #d48707;
}

.danger {
    background: var(--danger);
}

.danger:hover {
    background: #b72d2d;
}

.alerta {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: bold;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alerta-ok {
    background: #ecfdf3;
    color: #166534;
    border-color: #86efac;
}

.alerta-ok::before {
    content: "\2714";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

.alerta-error {
    background: #fef3f2;
    color: #b42318;
    border-color: #fecdca;
}

.alerta-error-lite {
    background: #fff4f4;
    color: #b42318;
    border-color: #f7caca;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

th {
    background: #2c313a;
    color: #ffffff;
    font-size: 13px;
}

tbody tr:nth-child(even) {
    background: #f9fafb;
}

tbody tr:hover {
    background: #eef4ff;
}

.estado {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.ocupado {
    background: #fee2e2;
    color: #991b1b;
}

.libre {
    background: #dcfce7;
    color: #166534;
}

.acciones form {
    margin: 0;
}

@media (max-width: 960px) {
    .app-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: none;
    }

    .sidebar.is-open {
        display: block;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .member-login-screen .auth-card h1 {
        font-size: 42px;
    }

    .member-icon {
        width: 190px;
        height: 128px;
        transform: scale(0.86);
        margin-bottom: 22px;
    }

    .member-login-screen .auth-form input[type="text"],
    .member-login-screen .auth-form input[type="password"] {
        font-size: 20px;
    }

    .member-options {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
    }

    .member-login-screen .auth-form button {
        font-size: 28px;
    }

    .wordpress-login-screen .auth-shell {
        padding-top: 42px;
    }

    .wordpress-logo {
        width: 76px;
        height: 76px;
        margin-bottom: 24px;
    }

    .wordpress-login-screen .auth-card {
        padding: 24px 20px 28px;
    }

    .wordpress-login-screen .auth-form label,
    .wordpress-login-screen .remember-option,
    .wordpress-login-screen .auth-form button {
        font-size: 16px;
    }

    .wordpress-actions {
        align-items: flex-start;
    }

    .inventory-login-screen .auth-card {
        width: 100%;
    }

    .inventory-login-screen .wordpress-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .inventory-login-screen .register-button,
    .inventory-login-screen .auth-form button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .topbar,
    .panel-header,
    .sede-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .sede-actions,
    .sede-select-actions {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .sede-button {
        width: 100%;
    }

    .topbar-actions {
        justify-content: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
    }

    .dashboard-cards,
    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .container {
        margin: 16px 12px 20px;
    }

    .dashboard-cards {
        padding: 16px 12px 0;
    }

    .search-form input,
    .form-grid input,
    .form-grid .ubicacion-field,
    .form-grid button,
    .filter-form .button-link,
    .search-form button {
        width: 100%;
        text-align: center;
    }

    .ubicacion-input-row {
        flex-direction: column;
    }

    table {
        display: block;
        overflow-x: auto;
    }
}
