.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.font-sans {
  font-family: Nunito, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue" , Arial, "Noto Sans" , sans-serif, "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" , "Noto Color Emoji" ;
}
/* * Dropdown Menu Animation for Bootstrap Navbar * https://startbootstrap.com/snippets/animated-navbar-dropdown */
@media (min-width: 992px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
 }
}
@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
 }
  100% {
    transform: translateY(0rem);
    opacity: 1;
 }
  0% {
    transform: translateY(1rem);
    opacity: 0;
 }
}
@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
 }
  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
 }
  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
 }
}
.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}
.bg-indigo {
  background-color: #6574cd !important;
}
.h-5 {
  height: 1.25rem !important;
}
.w-5 {
  height: 1.25rem !important;
}
.flex-1 {
  flex: 1 1 0%;
}
@media (min-width: 1200px) {
  .container {
    max-width: 100%;
 }
}
.bg-light {
  background: #f3f4f6 !important;
}
.card {
  border-radius: 0.475rem;
  border: 0;
}
.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: #f9fafb;
  border-top: 0;
}
.card-footer:last-child {
  border-radius: 0 0 0.475rem 0.475rem;
}
.dropdown-menu {
  width: 220px;
}
.small {
  font-size: 0.875rem !important;
}
.edit {
  color: green;
}
.edit i {
  font-size: 20px;
}
.delete {
  color: red;
}
.delete i {
  font-size: 20px;
}

.search-input {
  background-image: url("/images/searchicon.png");

 /* Add a search icon to input */
  background-position: 10px 12px;
 /* Position the search icon */
  background-repeat: no-repeat;
 /* Do not repeat the icon image */
  width: 100%;
 /* Full-width */
  font-size: 16px;
 /* Increase font-size */
  padding: 12px 20px 12px 40px;
 /* Add some padding */
  border: 1px solid #ddd;
 /* Add a grey border */
  margin-bottom: 12px;
 /* Add some space below the input */
}

tr.order {
  background: #a2cf65 !important;
}
tr.order-item {
  background: #f9f4d9 !important;
}
tr.order-item:hover {
  background: #f9f4d9 !important;
}
tr.depot {
  background: #77affc !important;
}
.wrapper {
  display: flex;
  flex-wrap: wrap;
}
.wrapper {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(150px, auto);
}
.wrapper a {
  text-decoration: none;
}
header, footer {
  padding: 3em;
  margin-left: 5px;
  margin-right: 5px;
  flex: 0 1 100%;
  grid-column: -1;
  text-align: center;
  background-color: rgba(175, 186, 202, 1);
}
.box {
  border-radius: 5px;
  padding: 3em;
  margin-left: 5px;
  margin-right: 5px;
  flex: 1 1 200px;
}
.box h2 {
  font-weight: bold;
}
.wrapper > *{
  margin-bottom: 10px;
}
@supports (display: grid) {
  .wrapper > * {
    margin: 0;
 }
}
.red {
  background-color: rgba(220, 83, 81, 1);
}
.green {
  background-color: rgba(187, 225, 123, 1);
}
.blue {
  background-color: rgba(131, 150, 225, 1);
}
.purple {
  background-color: rgba(155, 121, 170, 1);
}
.yellow {
  background-color: rgba(235, 229, 39, 1);
}
.violet {
  background-color: rgba(213, 118, 211, 1);
}
.orange {
  background-color: rgba(213, 151, 46, 1);
}
.turquoise {
  background-color: rgba(105, 203, 217, 1);
}

.overlay {
  display:    none;
  position:   fixed;
  z-index:    1000000;
  top:        0;
  left:       0;
  height:     100%;
  width:      100%;
  background: rgba( 255, 255, 255, .8 ) 
                url('/images/loading.gif') 
                50% 50% 
                no-repeat;
}

body.loading .overlay {
  overflow: hidden;   
}

/* Anytime the body has the loading class, our
 modal element will be visible */
body.loading .overlay {
  display: block;
}





.form-inline label {
  justify-content: left;
}

/*******************FILTER******************/

.filter-container {
  margin-bottom: 10px;
}

.filter-container select{
  margin-left: 0px!important;
}

.right-links {
  float: right;
}

.main-card{
  margin-top: 10px;
}

.select2-container {
  width: 100%!important;
}

.select2-selection {
  height: 35px!important;
}


#add-choice {
  margin-top: 10px;
}

:root {
  --app-bg: #eef3f8;
  --app-surface: #ffffff;
  --app-surface-muted: #f7f9fc;
  --app-border: #dde6ef;
  --app-text: #1f2937;
  --app-muted: #667085;
  --app-primary: #2563eb;
  --app-primary-dark: #1d4ed8;
  --app-success: #14a44d;
  --app-warning: #d97706;
  --app-danger: #dc2626;
  --app-shadow: 0 18px 40px rgba(25, 45, 80, 0.1);
  --app-shadow-soft: 0 10px 24px rgba(25, 45, 80, 0.08);
}

.app-body {
  min-height: 100vh;
  color: var(--app-text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 32rem),
    linear-gradient(180deg, #f7fbff 0%, var(--app-bg) 100%);
}

.app-shell {
  min-height: 100vh;
  min-width: 0;
  overflow-x: hidden;
}

.app-container,
.app-content {
  width: min(100% - 32px, 1420px);
  min-width: 0;
  margin: 0 auto;
}

.app-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 72px;
  border-bottom: 1px solid rgba(221, 230, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(25, 45, 80, 0.06);
  backdrop-filter: blur(14px);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--app-text) !important;
  font-size: 1rem;
  font-weight: 800;
}

.app-brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.26);
  font-size: 0.9rem;
}

.app-nav {
  gap: 0.25rem;
  margin-left: 1.75rem;
}

.app-nav .nav-link,
.app-account .nav-link {
  border-radius: 8px;
  color: #4b5563 !important;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
}

.app-nav .nav-link:hover,
.app-account .nav-link:hover {
  color: var(--app-primary) !important;
  background: #eef4ff;
}

.app-nav .nav-link.active {
  color: var(--app-primary) !important;
  background: #eaf1ff;
}

.app-user-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.app-user-avatar {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
}

.app-main {
  padding: 2rem 0 3rem;
}

.app-content > .container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.app-content .row.justify-content-center {
  justify-content: flex-start !important;
}

[name="header"] {
  width: 100%;
  margin-bottom: 1rem;
}

[name="header"] h2 {
  margin-bottom: 0;
  color: var(--app-text);
  font-size: 1.45rem;
  font-weight: 800;
}

.dashboard-page {
  display: grid;
  min-width: 0;
  gap: 1.5rem;
}

.dashboard-header {
  display: flex;
  min-height: 190px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(18, 42, 90, 0.96), rgba(15, 118, 110, 0.92));
  background-position: center;
  background-size: cover;
  box-shadow: var(--app-shadow);
}

.dashboard-kicker {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.4rem;
  font-weight: 900;
}

.dashboard-subtitle {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.dashboard-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.dashboard-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 86px;
  padding: 0.85rem;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  color: var(--app-text);
  background: var(--app-surface);
  box-shadow: var(--app-shadow-soft);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-tile:hover {
  color: var(--app-text);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--app-shadow);
  text-decoration: none;
  transform: translateY(-3px);
}

.dashboard-tile-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.dashboard-tile-icon .material-icons {
  font-size: 21px;
}

.dashboard-tile-content {
  display: grid;
  gap: 0.25rem;
}

.dashboard-tile-content strong {
  font-size: 0.92rem;
  line-height: 1.15;
}

.dashboard-tile-content small {
  color: var(--app-muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-tile-arrow {
  color: #98a2b3;
  transition: transform 0.18s ease, color 0.18s ease;
}

.dashboard-tile:hover .dashboard-tile-arrow {
  color: var(--app-primary);
  transform: translateX(4px);
}

.tile-categories .dashboard-tile-icon {
  color: #9a3412;
  background: #fff4e6;
}

.tile-tests .dashboard-tile-icon {
  color: #166534;
  background: #eaf8ee;
}

.tile-questions .dashboard-tile-icon {
  color: #3730a3;
  background: #eef2ff;
}

.tile-students .dashboard-tile-icon {
  color: #0f766e;
  background: #e6f6f3;
}

.tile-settings .dashboard-tile-icon {
  color: #475569;
  background: #eef2f7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.stat-card,
.dashboard-panel {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow-soft);
}

.stat-card {
  display: grid;
  gap: 0.28rem;
  min-height: 112px;
  padding: 0.95rem;
}

.stat-card strong {
  color: var(--app-text);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.stat-card small,
.stat-label {
  color: var(--app-muted);
  font-weight: 800;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.stat-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--app-primary);
  background: #eaf1ff;
}

.stat-icon .material-icons {
  font-size: 20px;
}

.stat-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0f766e);
}

.stat-primary strong,
.stat-primary small,
.stat-primary .stat-label {
  color: #ffffff;
}

.stat-primary .stat-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.dashboard-panels {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.65fr);
  gap: 1rem;
}

.dashboard-panel {
  padding: 1.25rem;
  min-width: 0;
  overflow: hidden;
}

.panel-wide {
  min-width: 0;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading h2 {
  margin-bottom: 0.25rem;
  color: var(--app-text);
  font-size: 1.1rem;
  font-weight: 900;
}

.panel-heading p {
  margin-bottom: 0;
  color: var(--app-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.panel-link {
  color: var(--app-primary);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.panel-link:hover {
  color: var(--app-primary-dark);
  text-decoration: none;
}

.status-list {
  display: grid;
  gap: 0.75rem;
}

.status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 8px;
  background: var(--app-surface-muted);
  font-weight: 800;
}

.status-row strong {
  font-size: 1.1rem;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.status-finished {
  background: var(--app-primary);
}

.status-progress {
  background: var(--app-warning);
}

.status-waiting {
  background: var(--app-success);
}

.subscription-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: #f3f7fb;
}

.subscription-card span {
  display: block;
  color: var(--app-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.subscription-card strong {
  display: block;
  color: var(--app-text);
  font-size: 1rem;
  font-weight: 900;
}

.subscription-card.is-warning {
  background: #fff7ed;
}

.subscription-card.is-warning .stat-icon {
  color: #9a3412;
  background: #ffedd5;
}

.subscription-card.is-expired {
  background: #fef2f2;
}

.subscription-card.is-expired .stat-icon {
  color: var(--app-danger);
  background: #fee2e2;
}

.subscription-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #7c2d12;
  background: #fff7ed;
  box-shadow: var(--app-shadow-soft);
}

.subscription-alert > .material-icons {
  color: var(--app-warning);
  font-size: 28px;
}

.subscription-alert p,
.subscription-alert div {
  margin-bottom: 0;
}

.payment-details {
  margin-top: 0.5rem;
  color: #1d4ed8;
  font-weight: 800;
}

.renewal-modal-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.renewal-modal-icon .material-icons {
  color: var(--app-warning);
  font-size: 42px;
}

.renewal-message {
  color: var(--app-text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.renewal-message .payment-details {
  text-align: left;
}

.performance-list,
.recent-list {
  display: grid;
  gap: 0.75rem;
}

.performance-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(120px, 1.2fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #ffffff;
}

.performance-name,
.performance-numbers,
.recent-main {
  display: grid;
  gap: 0.15rem;
}

.performance-name strong,
.recent-main strong {
  color: var(--app-text);
  font-weight: 900;
}

.performance-name small,
.performance-numbers small,
.recent-main small,
.recent-date {
  color: var(--app-muted);
  font-weight: 700;
}

.performance-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.performance-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #14a44d);
}

.performance-numbers {
  min-width: 74px;
  text-align: right;
}

.performance-numbers strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.recent-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #ffffff;
}

.recent-avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0f766e;
  font-weight: 900;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.badge-finished {
  color: #1d4ed8;
  background: #dbeafe;
}

.badge-progress {
  color: #9a3412;
  background: #ffedd5;
}

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

.badge-expired {
  color: #991b1b;
  background: #fee2e2;
}

.admin-dashboard-header {
  min-height: 150px;
}

.super-admin-page {
  max-width: 100%;
  min-width: 0;
}

.admin-alert {
  display: none;
  margin-bottom: 1rem;
}

.import-panel {
  max-width: 920px;
}

.import-tests-list {
  max-height: 320px;
  overflow-y: auto;
  padding: .75rem;
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  background: #fff;
}

.import-test-item {
  display: block;
  padding: .65rem .25rem;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.import-test-item:last-child {
  border-bottom: 0;
}

.import-test-item small {
  margin-left: .4rem;
  color: #6c757d;
}

.centers-management-table {
  min-width: 980px;
}

.center-password-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) auto;
  gap: .4rem;
  align-items: center;
}

.super-admin-page .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-centers-table {
  min-width: 1120px;
}

.admin-centers-table td {
  min-width: 105px;
}

.admin-centers-table td:first-child {
  min-width: 210px;
}

.admin-centers-table td:last-child,
.admin-centers-table td:nth-last-child(2) {
  min-width: 230px;
}

.center-cell,
.expiration-cell,
.performance-mini {
  display: grid;
  gap: 0.25rem;
}

.center-cell {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.expiration-cell .status-badge {
  justify-self: start;
}

.admin-muted {
  display: block;
  color: var(--app-muted);
  font-weight: 700;
}

.performance-mini {
  min-width: 110px;
}

.performance-mini .performance-meter {
  width: 100%;
}

.renew-actions,
.password-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.renew-actions .btn-sm,
.password-actions .btn-sm {
  min-height: 30px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
}

.renew-actions .form-control-sm {
  width: 136px;
  min-height: 30px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.password-actions .form-control-sm {
  width: 148px;
  min-height: 30px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--app-muted);
  text-align: center;
  background: var(--app-surface-muted);
}

.empty-state .material-icons {
  color: #98a2b3;
  font-size: 34px;
}

.empty-state strong {
  color: var(--app-text);
  font-weight: 900;
}

.login-page {
  display: grid;
  min-height: calc(100vh - 140px);
  align-items: center;
  padding: 1rem 0 2rem;
}

.login-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.login-panel {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 2.25rem;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(18, 42, 90, 0.94), rgba(15, 118, 110, 0.9));
  background-position: center;
  background-size: cover;
}

.login-brand-mark {
  margin-bottom: auto;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.login-panel h1 {
  margin-bottom: 0;
  font-size: 2.45rem;
  font-weight: 900;
}

.login-panel p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.login-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.login-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
}

.login-feature-list .material-icons {
  font-size: 17px;
}

.login-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
}

.login-form-heading {
  margin-bottom: 1.5rem;
}

.login-form-heading h2 {
  margin-bottom: 0.35rem;
  color: var(--app-text);
  font-size: 1.65rem;
  font-weight: 900;
}

.login-form-heading p {
  margin-bottom: 0;
  color: var(--app-muted);
  font-weight: 700;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-form .form-group {
  margin-bottom: 0;
}

.login-form label {
  margin-bottom: 0.35rem;
  color: var(--app-text);
  font-weight: 900;
}

.input-icon-field {
  position: relative;
}

.input-icon-field .material-icons {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  z-index: 2;
  color: #98a2b3;
  font-size: 20px;
  transform: translateY(-50%);
}

.input-icon-field .form-control {
  min-height: 48px;
  padding-left: 2.8rem;
  font-size: 1rem;
  font-weight: 700;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--app-muted);
  font-weight: 800;
}

.login-options a {
  color: var(--app-primary);
  font-weight: 900;
  text-decoration: none;
}

.login-options a:hover {
  color: var(--app-primary-dark);
  text-decoration: none;
}

.login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.card,
.table-wrapper,
.modal-content {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow-soft);
}

.table-wrapper {
  width: 100%;
  padding: 1rem;
}

.table-title {
  margin-bottom: 0.9rem;
}

.table {
  margin-bottom: 0;
  vertical-align: middle;
}

.table > :not(caption) > * > * {
  padding: 0.9rem 0.85rem;
  border-bottom-color: #edf1f6;
}

.table thead th {
  color: #475467;
  background: var(--app-surface-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: #fbfcfe;
}

.table-hover > tbody > tr:hover > * {
  background-color: #eef6ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  border-radius: 8px;
  border-width: 0;
  font-weight: 800;
  box-shadow: none !important;
}

.btn .fa,
.btn .material-icons {
  font-size: 18px;
}

.btn-primary {
  background: var(--app-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--app-primary-dark);
}

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

.btn-warning {
  color: #ffffff;
  background: var(--app-warning);
}

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

.form-control,
.form-select,
.select2-selection {
  border-color: #d0d9e5 !important;
  border-radius: 8px !important;
  color: var(--app-text);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--app-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.14);
}

.card-header,
.modal-header {
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface-muted);
  color: var(--app-text);
  font-weight: 800;
}

.modal-footer {
  border-top: 1px solid var(--app-border);
  background: var(--app-surface-muted);
}

.dropdown-menu {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  box-shadow: var(--app-shadow-soft);
}

.dropdown-item {
  font-weight: 700;
  padding: 0.65rem 1rem;
}

.pagination {
  align-items: center;
  gap: 0.35rem;
  margin: 1rem 0 0;
}

.page-link {
  border: 1px solid var(--app-border);
  border-radius: 8px !important;
  color: var(--app-primary);
  font-weight: 800;
}

.page-item.active .page-link {
  border-color: var(--app-primary);
  background: var(--app-primary);
}

.edit,
.delete,
[name="export-link"] {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
}

.edit {
  background: #eaf8ee;
}

.delete {
  background: #feeceb;
}

.edit:hover,
.delete:hover,
[name="export-link"]:hover {
  filter: brightness(0.96);
}

@media (max-width: 991.98px) {
  .app-nav {
    gap: 0.35rem;
    margin: 1rem 0 0;
  }

  .app-nav .nav-link,
  .app-account .nav-link {
    padding: 0.7rem 0.75rem;
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscription-alert {
    grid-template-columns: auto 1fr;
  }

  .subscription-alert .btn {
    grid-column: 2;
    justify-self: start;
  }

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

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performance-row {
    grid-template-columns: 1fr;
  }

  .performance-numbers {
    text-align: left;
  }

  .recent-row {
    grid-template-columns: auto 1fr;
  }

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

  .login-panel {
    min-height: 300px;
  }

  .status-badge,
  .recent-date {
    grid-column: 2;
    justify-self: start;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .app-container,
  .app-content {
    width: min(100% - 20px, 1420px);
  }

  .app-main {
    padding-top: 1rem;
  }

  .dashboard-header {
    min-height: auto;
    padding: 1.25rem;
  }

  .dashboard-header h1 {
    font-size: 1.8rem;
  }

  .dashboard-primary-action {
    width: 100%;
  }

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

  .table-wrapper {
    padding: 0.75rem;
  }

  .login-form-panel,
  .login-panel {
    padding: 1.25rem;
  }

  .login-panel h1 {
    font-size: 1.9rem;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }
}
