:root {
  --gm-ink: #071725;
  --gm-ink-soft: #10283a;
  --gm-surface: #ffffff;
  --gm-canvas: #f3f7fa;
  --gm-line: #dce6ed;
  --gm-text: #173047;
  --gm-muted: #6e8293;
  --gm-cyan: #15c9c0;
  --gm-cyan-dark: #079c97;
  --gm-orange: #ff7a18;
  --gm-purple: #7f3fe0;
  --gm-danger: #e34d67;
  --gm-shadow: 0 24px 60px rgba(7, 23, 37, .13);
  --gm-shadow-soft: 0 12px 32px rgba(7, 23, 37, .08);
}

/* Loading compartido */
.loading.gm-loading-screen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(21, 201, 192, .18), transparent 34%),
    radial-gradient(circle at 84% 82%, rgba(127, 63, 224, .2), transparent 38%),
    linear-gradient(145deg, #06131f 0%, #0a2334 55%, #101a31 100%) !important;
}

.gm-loading-panel {
  width: min(430px, 92vw);
  padding: 34px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .35);
  backdrop-filter: blur(16px);
}

.gm-loading-logo {
  width: 100%;
  max-width: 310px;
  height: auto;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.gm-loading-title {
  display: block;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.gm-loading-copy {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.gm-loading-track {
  position: relative;
  width: 100%;
  height: 5px;
  margin: 23px 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.gm-loading-track span {
  position: absolute;
  top: 0;
  left: -46%;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gm-cyan), var(--gm-orange), var(--gm-purple));
  animation: gm-loading-progress 1.25s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes gm-loading-progress {
  0% { left: -46%; }
  100% { left: 100%; }
}

/* Base del administrador */
html {
  min-height: 100%;
}

body.gm-admin-2026 {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--gm-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 6% 8%, rgba(21, 201, 192, .08), transparent 28%),
    radial-gradient(circle at 95% 12%, rgba(127, 63, 224, .07), transparent 24%),
    var(--gm-canvas) !important;
  background-attachment: fixed !important;
}

body.gm-admin-2026::selection {
  color: #fff;
  background: var(--gm-purple);
}

.gm-admin-content {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 34px;
  padding-bottom: 52px;
}

/* Navegación */
.gm-admin-navbar.navbar {
  z-index: 1000;
  min-height: 76px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: rgba(7, 23, 37, .97);
  box-shadow: 0 12px 35px rgba(7, 23, 37, .2);
}

.gm-admin-navbar .container {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.gm-admin-navbar .navbar-header {
  flex: 0 0 auto;
}

.gm-admin-navbar .navbar-brand {
  min-width: 235px;
  height: auto;
  padding: 9px 22px 9px 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff !important;
}

.gm-admin-navbar .navbar-brand img {
  width: 118px;
  height: 48px;
  padding: 6px 8px;
  object-fit: contain;
  border-radius: 11px;
  background: #fff;
}

.gm-admin-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.gm-admin-brand-copy strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
}

.gm-admin-brand-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .54);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gm-admin-navbar .navbar-collapse {
  flex: 1 1 auto;
}

.gm-admin-navbar .navbar-nav {
  margin-top: 0;
  margin-bottom: 0;
}

.gm-admin-navbar .navbar-nav > li > a {
  margin: 14px 4px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 13px;
  font-weight: 750;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.gm-admin-navbar .navbar-nav > li > a:hover,
.gm-admin-navbar .navbar-nav > li > a:focus,
.gm-admin-navbar .navbar-nav > .active > a,
.gm-admin-navbar .navbar-nav > .active > a:hover,
.gm-admin-navbar .navbar-nav > .active > a:focus,
.gm-admin-navbar .navbar-nav > .open > a,
.gm-admin-navbar .navbar-nav > .open > a:hover,
.gm-admin-navbar .navbar-nav > .open > a:focus {
  color: #fff !important;
  background: rgba(21, 201, 192, .16) !important;
  box-shadow: inset 0 0 0 1px rgba(21, 201, 192, .2);
}

.gm-admin-navbar .navbar-nav > li > a:hover {
  transform: translateY(-1px);
}

.gm-admin-navbar .navbar-nav > .active > a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 7px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gm-cyan), var(--gm-orange));
}

.gm-admin-user-link {
  max-width: 220px;
}

.gm-admin-user-avatar {
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 29px;
  border-radius: 50%;
  color: #08202d;
  background: linear-gradient(135deg, var(--gm-cyan), #8ef4df);
}

.gm-admin-user-name {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-admin-navbar .dropdown-menu {
  min-width: 190px;
  margin-top: 1px;
  padding: 8px;
  border: 1px solid var(--gm-line);
  border-radius: 14px;
  box-shadow: var(--gm-shadow-soft);
}

.gm-admin-navbar .dropdown-menu > li > a {
  padding: 10px 12px;
  color: var(--gm-text);
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
}

.gm-admin-navbar .dropdown-menu > li > a:hover {
  color: var(--gm-danger);
  background: rgba(227, 77, 103, .08);
}

.gm-admin-navbar .navbar-toggle {
  margin-top: 19px;
  margin-right: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 11px;
}

.gm-admin-navbar .navbar-toggle .icon-bar {
  background: #fff;
}

/* Componentes antiguos, aspecto nuevo */
body.gm-admin-2026 .panel {
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 237, .9);
  border-radius: 20px;
  background: var(--gm-surface);
  box-shadow: var(--gm-shadow-soft);
}

body.gm-admin-2026 .panel-primary > .panel-heading,
body.gm-admin-2026 .panel-info > .panel-heading,
body.gm-admin-2026 .panel-default > .panel-heading {
  min-height: 68px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 92% 20%, rgba(127, 63, 224, .42), transparent 34%),
    linear-gradient(125deg, var(--gm-ink) 0%, var(--gm-ink-soft) 100%);
}

body.gm-admin-2026 .panel-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

body.gm-admin-2026 .panel-body {
  padding: 26px;
  overflow-x: auto;
}

body.gm-admin-2026 .panel-footer {
  padding: 17px 24px;
  border-top: 1px solid var(--gm-line);
  background: #f8fafc;
}

body.gm-admin-2026 .well,
body.gm-admin-2026 .modal-content {
  border: 1px solid var(--gm-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--gm-shadow-soft);
}

body.gm-admin-2026 .silver,
body.gm-admin-2026 .white {
  color: var(--gm-text);
  background: #f7fafc !important;
}

body.gm-admin-2026 label {
  margin-bottom: 7px;
  color: #29465b;
  font-size: 13px;
  font-weight: 750;
}

body.gm-admin-2026 .form-control,
body.gm-admin-2026 input[type="text"],
body.gm-admin-2026 input[type="password"],
body.gm-admin-2026 input[type="email"],
body.gm-admin-2026 input[type="number"],
body.gm-admin-2026 input[type="date"],
body.gm-admin-2026 select,
body.gm-admin-2026 textarea,
body.gm-admin-2026 .ms-choice {
  min-height: 44px;
  color: var(--gm-text);
  border: 1px solid #cfdce5;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 23, 37, .03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.gm-admin-2026 textarea.form-control,
body.gm-admin-2026 textarea {
  min-height: 110px;
}

body.gm-admin-2026 .form-control:focus,
body.gm-admin-2026 input:focus,
body.gm-admin-2026 select:focus,
body.gm-admin-2026 textarea:focus {
  border-color: var(--gm-cyan);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(21, 201, 192, .13);
}

body.gm-admin-2026 input[type="checkbox"],
body.gm-admin-2026 input[type="radio"] {
  accent-color: var(--gm-cyan-dark);
}

body.gm-admin-2026 .btn {
  min-height: 40px;
  padding: 9px 16px;
  border-width: 1px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.gm-admin-2026 .btn:hover,
body.gm-admin-2026 .btn:focus {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

body.gm-admin-2026 .btn-primary {
  border-color: #e9680d;
  background: linear-gradient(135deg, #ff933d, var(--gm-orange));
  box-shadow: 0 9px 20px rgba(255, 122, 24, .22);
}

body.gm-admin-2026 .btn-success {
  border-color: var(--gm-cyan-dark);
  background: linear-gradient(135deg, #25d8cc, var(--gm-cyan-dark));
  box-shadow: 0 9px 20px rgba(7, 156, 151, .2);
}

body.gm-admin-2026 .btn-info {
  border-color: #6730c0;
  background: linear-gradient(135deg, #9a62ec, var(--gm-purple));
  box-shadow: 0 9px 20px rgba(127, 63, 224, .18);
}

body.gm-admin-2026 .btn-danger {
  border-color: #c93a53;
  background: linear-gradient(135deg, #ef6b81, var(--gm-danger));
}

body.gm-admin-2026 .btn-default {
  color: #365064;
  border-color: #cfdae2;
  background: #fff;
}

body.gm-admin-2026 .btn-default:hover {
  color: var(--gm-ink);
  border-color: #b9cbd7;
  background: #f7fafc;
}

body.gm-admin-2026 .table {
  min-width: 760px;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--gm-text);
  font-size: 13px;
}

body.gm-admin-2026 .table > thead > tr > th {
  padding: 13px 12px;
  color: #466176;
  vertical-align: middle;
  border-bottom: 1px solid var(--gm-line);
  background: #eef4f7 !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

body.gm-admin-2026 .table > tbody > tr > td {
  padding: 13px 12px;
  vertical-align: middle;
  border-top: 1px solid #e8eef2;
  background: #fff;
}

body.gm-admin-2026 .table-striped > tbody > tr:nth-of-type(odd) > td {
  background: #fbfcfd;
}

body.gm-admin-2026 .table-hover > tbody > tr:hover > td {
  background: #f1fbfa;
}

body.gm-admin-2026 .table img {
  max-width: 92px;
  object-fit: cover;
  border: 1px solid var(--gm-line);
  border-radius: 12px;
  box-shadow: 0 7px 16px rgba(7, 23, 37, .09);
}

body.gm-admin-2026 .tablesorter-pager {
  padding: 14px !important;
  white-space: nowrap;
  background: #f7fafc !important;
}

body.gm-admin-2026 .tablesorter-pager .btn {
  min-width: 40px;
  margin: 2px;
}

body.gm-admin-2026 .botonSubir {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Tablas administrativas compactas */
.gm-table-panel > .panel-heading,
.gm-event-editor > .panel-heading {
  align-items: flex-start !important;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.gm-panel-heading-copy {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 550;
}

.gm-table-panel > .panel-body {
  padding: 20px !important;
  overflow: visible !important;
}

.gm-table-toolbar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gm-table-help {
  color: var(--gm-muted);
  font-size: 13px;
}

.gm-table-shell {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dce7ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 23, 37, .06);
  scrollbar-color: #b7cbd5 #eef4f7;
  scrollbar-width: thin;
}

.gm-table-shell::-webkit-scrollbar {
  height: 9px;
}

.gm-table-shell::-webkit-scrollbar-track {
  background: #eef4f7;
}

.gm-table-shell::-webkit-scrollbar-thumb {
  border: 2px solid #eef4f7;
  border-radius: 999px;
  background: #a9c0cb;
}

body.gm-admin-2026 .gm-data-table,
body.gm-admin-2026 .gm-table-panel .tablesorter-advanced {
  margin: 0;
  border: 0;
}

body.gm-admin-2026 .gm-table-panel .table > thead > tr:first-child > th {
  height: 48px;
  padding: 10px;
  color: #38566c;
  border-right: 1px solid #dce7ed;
  background: linear-gradient(180deg, #f4f8fa 0%, #eaf2f6 100%) !important;
  letter-spacing: .045em;
}

body.gm-admin-2026 .gm-table-panel .table > thead > tr:first-child > th:last-child {
  border-right: 0;
}

body.gm-admin-2026 .gm-table-panel .tablesorter-filter-row td {
  padding: 7px 6px;
  border-top: 0;
  border-right: 1px solid #e2ebef;
  border-bottom: 1px solid #dce7ed;
  background: #f9fbfc;
}

body.gm-admin-2026 .gm-table-panel .tablesorter-filter-row td:last-child {
  border-right: 0;
}

body.gm-admin-2026 .gm-table-panel .tablesorter-filter {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  height: 34px;
  padding: 6px 9px;
  border-color: #cfdee6;
  border-radius: 8px;
  background: #fff;
}

body.gm-admin-2026 .gm-table-panel .table > tbody > tr > td {
  height: 76px;
  padding: 9px 10px;
  border-right: 1px solid #edf2f5;
  border-top: 1px solid #e8eef2;
  line-height: 1.42;
}

body.gm-admin-2026 .gm-table-panel .table > tbody > tr > td:last-child {
  border-right: 0;
}

body.gm-admin-2026 .gm-table-panel .table > tbody > tr:hover > td {
  background: #effaf9 !important;
}

body.gm-admin-2026 .gm-table-panel .table img {
  width: 58px !important;
  height: 58px !important;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.gm-table-action.btn,
.gm-table-panel .sorter-update,
.gm-table-panel .sorter-remove,
.gm-attendees-panel .infor,
.gm-attendees-panel .eliminar {
  width: 38px;
  min-width: 38px !important;
  height: 38px;
  min-height: 38px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px !important;
}

body.gm-admin-2026 .gm-table-panel .tablesorter-pager {
  height: 62px;
  padding: 10px 14px !important;
  color: #486276;
  border-top: 1px solid #dce7ed;
  background: #f7fafc !important;
  text-align: center;
}

body.gm-admin-2026 .gm-table-panel .tablesorter-pager .btn {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 8px;
  color: #466176;
  border-color: #d5e2e8;
  border-radius: 10px;
  background: #fff;
}

body.gm-admin-2026 .gm-table-panel .tablesorter-pager select {
  width: 62px;
  min-height: 38px;
  height: 38px;
  margin-left: 5px;
  padding: 6px 8px;
  border-radius: 10px;
}

.gm-events-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed;
}

.gm-events-table col.gm-col-image { width: 78px; }
.gm-events-table col.gm-col-id { width: 50px; }
.gm-events-table col.gm-col-title { width: 17%; }
.gm-events-table col.gm-col-description { width: 30%; }
.gm-events-table col.gm-col-capacity { width: 86px; }
.gm-events-table col.gm-col-available { width: 82px; }
.gm-events-table col.gm-col-date { width: 108px; }
.gm-events-table col.gm-col-action { width: 55px; }

body.gm-admin-2026 .gm-events-table > thead > tr:first-child > th {
  padding-right: 22px !important;
  white-space: normal;
  line-height: 1.2;
}

body.gm-admin-2026 .gm-events-table > thead > tr:first-child > th.gm-action-heading {
  padding-right: 10px !important;
  color: #537084;
  text-align: center;
}

body.gm-admin-2026 .gm-events-table > thead > tr:first-child > th.gm-static-heading {
  padding-right: 10px !important;
}

.gm-events-table .tablesorter-filter-row td:nth-child(1) input,
.gm-events-table .tablesorter-filter-row td:nth-child(n+8) input {
  display: none;
}

.gm-events-table .gm-action-heading .glyphicon {
  top: 1px;
  font-size: 13px;
}

.gm-events-table .gm-cell-title,
.gm-events-table .gm-cell-description {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-events-table .gm-cell-title {
  color: #17364b;
  font-weight: 750;
}

.gm-events-table .gm-cell-date {
  white-space: nowrap;
}

.gm-users-panel .tablesorter-advanced {
  width: 100% !important;
  min-width: 680px !important;
  table-layout: fixed;
}

.gm-users-panel .gm-table-shell > .row {
  min-height: 64px;
  margin: 0 !important;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #dce7ed;
  background: #fbfdfe;
}

.gm-users-panel .gm-table-shell > .row > [style*="visibility: hidden"] {
  display: none !important;
}

.gm-users-panel .gm-table-shell > .row > .col-sm-6 {
  width: 100%;
  padding: 0;
  float: none;
}

.gm-users-panel .gm-table-shell > br {
  display: none;
}

.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(1) { width: 24% !important; }
.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(2) { width: 18% !important; }
.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(3) { width: 16% !important; }
.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(4) { width: 32% !important; }
.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(5),
.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(6) { width: 5% !important; }

.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th {
  padding-right: 24px !important;
  white-space: normal;
  line-height: 1.2;
}

.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(n+5) {
  padding-right: 10px !important;
  background-image: none !important;
  cursor: default;
  font-size: 0 !important;
  text-align: center;
}

.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(n+5) label,
.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(n+5) b {
  margin: 0;
  font-size: 0 !important;
}

.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(5)::after {
  content: "\270E";
  color: #0c8f8a;
  font-size: 16px;
}

.gm-users-panel .tablesorter-advanced > thead > tr:first-child > th:nth-child(6)::after {
  content: "\00D7";
  color: var(--gm-danger);
  font-size: 21px;
  line-height: 1;
}

.gm-users-panel .tablesorter-advanced .tablesorter-filter-row td:nth-child(n+5) input {
  display: none;
}

.gm-users-panel .tablesorter-advanced > tbody > tr > td {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gm-users-panel .tablesorter-advanced > tbody > tr > td:nth-child(5),
.gm-users-panel .tablesorter-advanced > tbody > tr > td:nth-child(6) {
  padding-right: 5px !important;
  padding-left: 5px !important;
  overflow: visible;
  text-align: center;
}

.gm-attendees-table {
  min-width: 1680px !important;
}

.gm-table-panel .sorter-new {
  margin-left: 10px;
}

.gm-table-panel .padding-right {
  color: var(--gm-muted);
  font-size: 13px;
}

/* Editor de eventos en una distribución más compacta */
.gm-event-editor > .panel-body {
  padding: 22px !important;
  overflow: visible !important;
}

.gm-event-form-grid {
  margin: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}

.gm-event-form-grid::before,
.gm-event-form-grid::after,
.gm-event-fields .row::before,
.gm-event-fields .row::after {
  display: none !important;
  content: none !important;
}

.gm-event-form-main,
.gm-event-form-media {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}

.gm-event-form-main {
  grid-column: 1;
}

.gm-event-form-main > .row {
  margin-right: -6px;
  margin-bottom: 4px;
  margin-left: -6px;
}

.gm-event-form-main > .row > [class*="col-"] {
  padding-right: 6px;
  padding-left: 6px;
}

.gm-event-form-main > br {
  display: none;
}

.gm-event-form-main p {
  margin: 2px 0 5px;
  color: #3c586d;
  font-size: 12.5px;
  font-weight: 730;
}

.gm-event-editor legend {
  margin: 0 0 10px;
  border-color: #e2eaee;
}

.gm-event-editor legend h4 {
  margin: 0 0 9px;
  color: var(--gm-ink);
  font-size: 16px;
  font-weight: 820;
}

.gm-event-editor input[type="text"],
.gm-event-editor select {
  min-height: 40px !important;
  height: 40px;
  padding: 8px 11px;
}

.gm-event-editor .note-editor {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #cfdee6;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(7, 23, 37, .06);
}

.gm-event-editor .note-toolbar {
  padding: 7px 9px;
  border-bottom: 1px solid #dce7ed;
  background: #f7fafc;
}

.gm-event-editor .note-toolbar .btn {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
}

.gm-event-editor .note-editable {
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  padding: 14px !important;
  overflow-y: auto !important;
  line-height: 1.5;
}

.gm-event-editor .eve_doc_src {
  width: 100%;
  height: 145px !important;
  padding: 0;
  border: 1px solid #d6e2e8;
  border-radius: 14px;
  background: #f6f9fb;
}

.gm-event-editor #btnUploadimg7 {
  position: absolute !important;
  z-index: 210 !important;
  top: 12px !important;
  left: 27px !important;
  margin: 0 !important;
  box-shadow: 0 8px 18px rgba(7, 23, 37, .18);
}

.gm-event-fields {
  margin-top: 15px;
  padding: 15px 16px 12px;
  border: 1px solid #dce7ed;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdfe 0%, #f6fafc 100%);
}

.gm-event-fields > .row:first-child {
  margin: 0 0 8px;
}

.gm-event-fields > .row:first-child > [class*="col-"] {
  width: 100%;
  padding: 0;
  float: none;
}

.gm-event-fields > .row:not(:first-child) {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
}

.gm-event-fields > .row:not(:first-child) > [class*="col-"] {
  width: auto;
  padding: 0;
  float: none;
}

.gm-event-fields > .row:not(:first-child) > [class*="col-"] > .row {
  min-height: 31px;
  margin: 0;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
}

.gm-event-fields > .row:not(:first-child) > [class*="col-"] > .row > [class*="col-"] {
  width: auto;
  padding: 0;
  float: none;
}

.gm-event-fields input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0 !important;
}

.gm-event-fields p {
  margin: 0;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.25;
}

.gm-event-form-media {
  position: sticky;
  grid-column: 2;
  top: 92px;
  align-self: start;
  padding: 17px !important;
  border: 1px solid #dce7ed;
  border-radius: 17px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  box-shadow: 0 12px 30px rgba(7, 23, 37, .07);
}

.gm-media-heading {
  margin-bottom: 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gm-media-heading strong {
  color: var(--gm-ink);
  font-size: 15px;
}

.gm-media-heading span {
  color: var(--gm-muted);
  font-size: 11.5px;
}

.gm-event-form-media > .row {
  margin: 0 -5px 10px;
}

.gm-event-form-media > .row > [class*="col-"] {
  padding: 0 5px;
}

.gm-event-form-media img[class*="imgUpload"] {
  width: 100% !important;
  height: 132px !important;
  object-fit: cover;
  border: 1px solid #d6e2e8;
  border-radius: 14px;
  background: #eef4f7;
  box-shadow: 0 7px 18px rgba(7, 23, 37, .09);
}

.gm-event-form-media .botonSubir {
  min-width: 38px;
  min-height: 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  box-shadow: 0 7px 16px rgba(7, 23, 37, .18);
}

.gm-event-form-media .bb {
  display: none;
}

.gm-event-editor > .panel-footer {
  position: sticky;
  z-index: 20;
  bottom: 0;
  background: rgba(248, 250, 252, .96);
  box-shadow: 0 -10px 25px rgba(7, 23, 37, .06);
  backdrop-filter: blur(10px);
}

.gm-event-editor > .panel-footer > .row {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.gm-event-editor > .panel-footer > .row > [class*="col-"] {
  width: 180px;
  padding: 0;
  margin: 0;
  float: none;
}

@media (min-width: 992px) {
  .gm-events-panel .gm-table-shell {
    overflow-x: hidden;
  }
}

@media (max-width: 991px) {
  .gm-event-form-grid {
    grid-template-columns: 1fr;
  }

  .gm-event-form-media {
    position: static;
    grid-column: 1;
  }

  .gm-event-form-main {
    grid-column: 1;
  }

  .gm-events-table {
    min-width: 880px !important;
  }

  .gm-table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .gm-table-toolbar .btn {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .gm-table-panel > .panel-body,
  .gm-event-editor > .panel-body {
    padding: 14px !important;
  }

  .gm-event-fields > .row:not(:first-child) {
    grid-template-columns: 1fr;
  }

  .gm-event-editor > .panel-footer > .row {
    flex-direction: column-reverse;
  }

  .gm-event-editor > .panel-footer > .row > [class*="col-"] {
    width: 100%;
  }
}

/* Login */
body.gm-login-page {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(21, 201, 192, .18), transparent 34%),
    radial-gradient(circle at 92% 82%, rgba(127, 63, 224, .18), transparent 38%),
    linear-gradient(145deg, #06131f 0%, #0b2233 52%, #12192f 100%) !important;
}

body.gm-login-page::before,
body.gm-login-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

body.gm-login-page::before {
  top: -190px;
  right: -110px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 80px rgba(127, 63, 224, .16);
}

body.gm-login-page::after {
  bottom: -240px;
  left: -130px;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 90px rgba(21, 201, 192, .14);
}

.gm-login-container {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100% !important;
  max-width: none !important;
  padding: 0 24px !important;
}

.gm-login-shell {
  min-height: calc(100vh - 84px);
  padding: 46px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-login-card {
  width: min(980px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 38px 110px rgba(0, 0, 0, .36);
}

.gm-login-intro {
  position: relative;
  padding: 48px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(127, 63, 224, .42), transparent 34%),
    linear-gradient(145deg, #091c2c 0%, #0d3345 100%);
}

.gm-login-intro::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border: 50px solid rgba(21, 201, 192, .09);
  border-radius: 50%;
}

.gm-login-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: 330px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .15);
}

.gm-login-brand img {
  width: 100%;
  height: auto;
}

.gm-login-eyebrow {
  position: relative;
  z-index: 1;
  margin: 54px 0 12px;
  color: #71eee2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.gm-login-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.gm-login-intro > p:not(.gm-login-eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, .67);
  font-size: 15px;
}

.gm-login-benefits {
  position: relative;
  z-index: 1;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.gm-login-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  font-weight: 650;
}

.gm-login-benefits .glyphicon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #86f4e9;
  background: rgba(21, 201, 192, .13);
}

.gm-login-form-panel {
  padding: 58px 58px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.gm-login-form-panel .gm-login-form-kicker {
  margin: 0 0 8px;
  color: var(--gm-orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.gm-login-form-panel h2 {
  margin: 0;
  color: var(--gm-ink);
  font-size: 31px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.gm-login-form-panel .gm-login-form-copy {
  margin: 10px 0 30px;
  color: var(--gm-muted);
  font-size: 14px;
}

.gm-login-form-panel .form-group {
  margin-bottom: 20px;
}

.gm-input-wrap {
  position: relative;
}

.gm-input-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6d8394;
  pointer-events: none;
  transform: translateY(-50%);
}

.gm-input-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.gm-login-page .gm-input-wrap .form-control {
  height: 50px;
  padding-right: 16px !important;
  padding-left: 52px !important;
  border-radius: 13px;
  background: #f9fbfc;
}

.gm-login-options {
  margin: -2px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gm-login-options .checkbox {
  margin: 0;
}

.gm-login-options .checkbox label {
  color: var(--gm-muted);
  font-weight: 650;
}

.gm-login-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px;
}

body.gm-login-page .gm-login-actions .btn {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
}

.gm-login-security {
  margin: 28px 0 0;
  padding-top: 21px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8596a4;
  border-top: 1px solid #e6edf2;
  font-size: 12px;
}

.gm-login-security .glyphicon {
  color: var(--gm-cyan-dark);
}

/* Inicio administrativo */
.gm-dashboard-hero {
  position: relative;
  margin-bottom: 24px;
  padding: 42px 44px;
  overflow: hidden;
  color: #fff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(127, 63, 224, .55), transparent 30%),
    radial-gradient(circle at 75% 95%, rgba(21, 201, 192, .22), transparent 36%),
    linear-gradient(125deg, #071725, #12384b);
  box-shadow: var(--gm-shadow);
}

.gm-dashboard-hero::after {
  content: "";
  position: absolute;
  right: 45px;
  bottom: -105px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
}

.gm-dashboard-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: #73eee3;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.gm-dashboard-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.gm-dashboard-hero > p:not(.gm-dashboard-eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 15px 0 26px;
  color: rgba(255, 255, 255, .68);
}

.gm-dashboard-hero .btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.gm-dashboard-grid {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gm-dashboard-card {
  min-height: 188px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  color: var(--gm-text) !important;
  border: 1px solid var(--gm-line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--gm-shadow-soft);
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.gm-dashboard-card:hover {
  color: var(--gm-text);
  border-color: rgba(21, 201, 192, .48);
  box-shadow: 0 18px 42px rgba(7, 23, 37, .12);
  transform: translateY(-4px);
}

.gm-dashboard-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: inline-flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 17px;
  background: linear-gradient(135deg, var(--gm-cyan), var(--gm-cyan-dark));
  box-shadow: 0 12px 28px rgba(7, 156, 151, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.gm-dashboard-icon::after {
  content: "";
  position: absolute;
  top: -22px;
  right: -18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.gm-dashboard-icon svg {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gm-dashboard-card:hover .gm-dashboard-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 32px rgba(7, 156, 151, .3), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.gm-dashboard-card:nth-child(2) .gm-dashboard-icon {
  background: linear-gradient(135deg, #9b6be8, var(--gm-purple));
  box-shadow: 0 12px 28px rgba(113, 52, 225, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.gm-dashboard-card:nth-child(3) .gm-dashboard-icon {
  background: linear-gradient(135deg, #ff9c4d, var(--gm-orange));
  box-shadow: 0 12px 28px rgba(255, 126, 27, .24), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.gm-dashboard-card:nth-child(2):hover .gm-dashboard-icon {
  box-shadow: 0 16px 32px rgba(113, 52, 225, .3), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.gm-dashboard-card:nth-child(3):hover .gm-dashboard-icon {
  box-shadow: 0 16px 32px rgba(255, 126, 27, .3), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.gm-dashboard-card strong {
  color: var(--gm-ink);
  font-size: 18px;
  font-weight: 850;
}

.gm-dashboard-card span:not(.gm-dashboard-icon) {
  margin-top: 7px;
  color: var(--gm-muted);
  font-size: 13px;
}

/* Pie */
.gm-system-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .7);
  border-top: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 18% 0, rgba(21, 201, 192, .08), transparent 30%),
    #061521;
}

.gm-system-footer .container {
  min-height: 96px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.gm-footer-brand {
  display: flex;
  align-items: center;
  gap: 17px;
}

.gm-footer-brand img {
  width: 138px;
  height: 50px;
  padding: 7px 10px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 11px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.gm-footer-copy {
  min-width: 235px;
}

.gm-footer-copy strong,
.gm-footer-copy span,
.gm-footer-links small {
  display: block;
}

.gm-footer-copy strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.gm-footer-copy span {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  white-space: nowrap;
}

.gm-footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
}

.gm-footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #83efe5 !important;
  text-decoration: none !important;
}

.gm-footer-contact svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gm-footer-contact span {
  color: #d5e2ea;
  font-weight: 650;
}

.gm-footer-links small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gm-footer-credit {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.gm-footer-credit > a {
  font-size: 13px;
  font-weight: 800;
}

.gm-system-footer a {
  color: #73eee3;
}

.gm-system-footer a:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .gm-system-footer .container {
    flex-wrap: wrap;
  }

  .gm-admin-navbar .container {
    width: 100%;
    display: block;
  }

  .gm-admin-navbar .navbar-header {
    float: none;
  }

  .gm-admin-navbar .navbar-toggle {
    display: block;
  }

  .gm-admin-navbar .navbar-collapse.collapse {
    display: none !important;
  }

  .gm-admin-navbar .navbar-collapse.collapse.in {
    display: block !important;
  }

  .gm-admin-navbar .navbar-nav,
  .gm-admin-navbar .navbar-nav > li {
    float: none !important;
  }

  .gm-admin-navbar .navbar-right {
    margin-right: 0;
  }

  .gm-admin-navbar .navbar-nav > li > a {
    margin: 4px 0;
  }

  .gm-admin-navbar .navbar-collapse {
    max-height: none;
    padding: 8px 0 16px;
    border: 0;
    box-shadow: none;
  }

  .gm-login-card {
    width: min(720px, 100%);
    grid-template-columns: 1fr;
  }

  .gm-login-intro {
    padding: 34px 40px;
  }

  .gm-login-eyebrow {
    margin-top: 28px;
  }

  .gm-login-benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .gm-login-benefits li {
    align-items: flex-start;
    flex-direction: column;
  }

  .gm-login-form-panel {
    padding: 42px 40px;
  }

  .gm-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .gm-dashboard-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .gm-admin-navbar .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .gm-admin-brand-copy {
    display: none;
  }

  .gm-admin-content {
    padding-top: 20px;
    padding-bottom: 34px;
  }

  body.gm-admin-2026 .panel {
    border-radius: 16px;
  }

  body.gm-admin-2026 .panel-primary > .panel-heading,
  body.gm-admin-2026 .panel-info > .panel-heading,
  body.gm-admin-2026 .panel-default > .panel-heading {
    min-height: 60px;
    padding: 17px 18px;
  }

  body.gm-admin-2026 .panel-body {
    padding: 18px;
  }

  .gm-login-container {
    padding: 0 14px !important;
  }

  .gm-login-shell {
    padding: 22px 0;
  }

  .gm-login-card {
    border-radius: 21px;
  }

  .gm-login-intro {
    padding: 28px 25px;
  }

  .gm-login-brand {
    max-width: 240px;
  }

  .gm-login-eyebrow {
    margin-top: 22px;
  }

  .gm-login-intro h1 {
    margin-bottom: 0;
    font-size: 27px;
  }

  .gm-login-intro > p:not(.gm-login-eyebrow) {
    display: none;
  }

  .gm-login-benefits {
    display: none;
  }

  .gm-login-form-panel {
    padding: 34px 25px 30px;
  }

  .gm-login-form-panel h2 {
    font-size: 27px;
  }

  .gm-dashboard-hero {
    padding: 30px 25px;
    border-radius: 19px;
  }

  .gm-system-footer .container {
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .gm-footer-links {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .gm-footer-copy {
    min-width: 0;
  }

  .gm-footer-copy span {
    white-space: normal;
  }

  .gm-footer-credit {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .gm-footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .gm-footer-brand img {
    width: 126px;
    height: 46px;
  }

  .gm-footer-contact span {
    word-break: break-word;
  }

  .gm-login-actions {
    grid-template-columns: 1fr;
  }

  .gm-login-actions .btn {
    width: 100%;
  }

  .gm-loading-panel {
    padding: 28px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
