:root {
  --yellow: #FFCC00;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --text: rgba(255, 255, 255, 0.92);
  --gray: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --input-bg: rgba(0, 0, 0, 0.2);
  --success: #34C759;
  --error: #FF453A;
  --pending: #FF9F0A;
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --card-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.7);
  --glass-bg: rgba(20, 25, 35, 0.85);
  --glass-border: 1px solid var(--border);
  --backdrop: saturate(180%) blur(24px);
  --sidebar-w: 120px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: #0d1620;
}

html, body {
  overscroll-behavior: none;
  -ms-overflow-style: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  padding-bottom: 20px;
  transition: color 0.3s;
  position: relative;
}

.mobile-header, .mobile-nav {
  display: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(circle at 70% 20%, #1a2a40 0%, #0d1620 50%, #000000 100%);
  z-index: -1;
  pointer-events: none;
  transition: background 0.3s;
}

.noscroll {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

main {
  width: 100%;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: calc(var(--sidebar-w) + 40px);
  padding-top: 40px;
  max-width: 1600px;
}

.container {
  width: 100%;
  max-width: 100%;
}

input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop);
  -webkit-backdrop-filter: var(--backdrop);
  border: var(--glass-border);
  box-shadow: var(--card-shadow);
}

.charts-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

#list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.empty-list-msg {
  text-align: center;
  padding: 80px;
  color: var(--gray);
  font-size: 16px;
  grid-column: 1 / -1;
}

.chart-container {
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 320px;
  position: relative;
  min-width: 0;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.chart-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chart-body {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.stats-controls {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  background: var(--glass-bg);
  padding: 5px;
  border-radius: 16px;
  width: max-content;
  margin-left: auto;
  margin-right: 0;
}

.stat-filter-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s;
}

.stat-filter-btn.active {
  background: var(--yellow);
  color: var(--brand-black);
}

.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.stat-card {
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.2s, opacity 0.3s;
}

.stat-icon {
  font-size: 32px;
  color: var(--yellow);
  background: rgba(255, 204, 0, 0.1);
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  font-weight: 600;
  white-space: nowrap;
}

.stat-unit {
  font-size: 12px;
  font-weight: 500;
  margin-left: 2px;
  opacity: 0.6;
}

.log-card {
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.header-text-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.card-datetime {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.card-location {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-left {
  font-size: 14px;
  color: var(--text);
  width: 20px;
  text-align: center;
}

.card-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 5px 0;
}

.card-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: flex-start;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.detail-item .label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray);
  margin: 0;
  text-transform: uppercase;
  opacity: 1;
}

.detail-item .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pending-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--pending);
  background: rgba(255, 159, 10, 0.1);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.offline-notice {
  text-align: center;
  color: var(--pending);
  margin-bottom: 15px;
  font-weight: bold;
}

.special-event-banner {
  display: none;
  width: 100%;
  min-height: 52px;
  margin: 0 0 24px 0;
  padding: 0 24px;
  background: rgba(20, 25, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.special-event-banner a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.special-event-banner:hover {
  background: rgba(20, 30, 45, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

@media (max-width: 768px) {
  .special-event-banner {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    min-height: 44px;
    border-radius: 16px;
  }
}

.logs {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 40px;
  gap: 20px;
}

.logs-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  min-height: 40px;
}

.logs-header-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  position: relative;
}

.logs h2 {
  font-size: 24px;
  margin: 0;
  color: var(--text);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logs h2::before {
  content: '';
  display: block;
  width: 6px;
  height: 24px;
  background: var(--yellow);
  border-radius: 3px;
}

.search-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  margin: 0;
}

.search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 40px;
  justify-content: flex-end;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: width 0.3s ease;
}

.search-input {
  width: 100%;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  padding: 0;
  opacity: 0;
  outline: none;
  transition: opacity 0.2s ease;
}

.search-wrapper.active .search-input {
  opacity: 1;
  padding: 0 16px;
}

.search-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  z-index: 1;
  border-radius: 12px;
  flex-shrink: 0;
}

.clear-icon {
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  cursor: pointer;
  font-size: 14px;
  padding: 5px;
  z-index: 5;
}

header {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop);
  -webkit-backdrop-filter: var(--backdrop);
  border-right: 1px solid var(--border);
  border-bottom: none;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  align-items: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 30px;
}

.header-content h1 {
  font-size: 18px;
  margin: 0;
  text-align: center;
  line-height: 1.4;
  padding: 0 5px;
  margin-bottom: 10px;
  width: 100%;
}

.header-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 30px;
  flex: 1;
}

.action-btn-small, .logout-btn {
  width: 100%;
  border-radius: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gray);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: color 0.2s;
  cursor: pointer;
}

.action-btn-small::before, .logout-btn::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 32px;
  border-radius: 16px;
  margin-bottom: 2px;
  transition: background-color 0.2s;
}

.action-btn-small:hover::before, .logout-btn:hover::before {
  background-color: rgba(255, 204, 0, 0.15);
}

.action-btn-small:hover, .logout-btn:hover {
  color: var(--text);
}

#deskNewBtn::before {
  content: "\f055";
}

#deskExportBtn::before {
  content: "\f0ed";
}

#deskSettingsBtn::before {
  content: "\f013";
}

.logout-btn::before {
  content: "\f2f5";
}

#logoutForm {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

#langSelect {
  width: 80px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--gray);
  font-size: 12px;
  text-align: center;
  text-align-last: center;
  padding: 0;
  margin-top: auto;
  appearance: none;
  cursor: pointer;
}

#langSelect:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

#langSelect:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

footer {
  width: 100%;
  padding: 20px;
  padding-left: calc(var(--sidebar-w) + 20px);
  margin-top: auto;
  border-top: none;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer-content {
  font-size: 11px;
  color: #aaaaaa;
  letter-spacing: 1px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
  text-align: center;
  mix-blend-mode: normal;
}

.footer-content a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

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

h1 a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

h1 a:hover {
  opacity: 0.8;
}

.christmas-title {
  background: linear-gradient(90deg, #FF3B30, #4CD964, #FFCC00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.ocean-title {
  background: linear-gradient(90deg, #00C6FF, #0072FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-user-select: none;
  user-select: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 600px;
  max-height: 85dvh;
  background: var(--glass-bg);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-overlay.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: var(--glass-bg);
  z-index: 10;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 25px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
}

.close-modal-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.1);
  border: none;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.close-modal-btn:hover {
  background: rgba(128, 128, 128, 0.2);
  color: var(--text);
}

.close-modal-btn:active {
  opacity: 0.5;
  background: rgba(128, 128, 128, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  margin: 0;
  min-width: 0;
  position: relative;
}

.field.disabled {
  opacity: 0.3;
  pointer-events: none;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--gray);
}

input, select.main-select, textarea {
  width: 100%;
  background-color: var(--input-bg);
  color: var(--text);
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all .2s;
  height: 44px;
  appearance: none;
}

textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
  padding: 14px;
  line-height: 1.5;
}

input:focus, select.main-select:focus, textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
  outline: none;
  background-color: rgba(0, 0, 0, 0.4);
}

select.main-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E0E0E0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.notes-field, .full-width-field {
  grid-column: 1 / -1;
}

.button-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  grid-column: 1 / -1;
}

.action-btn {
  flex: 1;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  background: var(--yellow);
  color: var(--brand-black);
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.25);
}

.action-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.action-btn:active {
  transform: scale(0.98);
  opacity: 0.8;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper input {
  padding-right: 44px;
}

.input-icon-wrapper #openMapBtn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 44px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--yellow);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.input-icon-wrapper #openMapBtn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.menu-toggle-btn:hover {
  background: var(--border);
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: rgba(26, 42, 64, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 100;
  width: 140px;
  padding: 6px;
  border-radius: 12px;
}

.menu-dropdown.show {
  display: block;
  animation: fadeIn 0.1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px);
}
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { opacity: 0.5;
}
  50% { opacity: 0.2; }
  100% { opacity: 0.5; }
}

.menu-item {
  display: block;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-item:hover {
  background: var(--border);
}

.menu-item.del {
  color: var(--error);
}

#viewer {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#viewer.show {
  visibility: visible;
  opacity: 1;
}

#viewer > div {
  background: var(--glass-bg);
  width: 50vw;
  max-width: 600px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  border-left: 1px solid var(--border);
}

#viewer.show > div {
  transform: translateX(0);
}

#viewerHeader {
  padding: 15px 20px;
  text-align: center;
  position: relative;
  border-bottom: 0.5px solid var(--border);
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(15px + env(safe-area-inset-top));
  min-height: calc(50px + env(safe-area-inset-top));
}

#viewerHeader h3 {
  margin: 0;
  font-size: 17px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.5px;
}

#closeView {
  position: absolute;
  right: 20px;
  background: rgba(128, 128, 128, 0.1);
  border: none;
  color: var(--gray);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  font-size: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: calc(env(safe-area-inset-top) / 2);
}

#closeView:hover {
  background: rgba(128, 128, 128, 0.2);
  color: var(--text);
}

#closeView:active {
  opacity: 0.5;
  background: rgba(128, 128, 128, 0.3);
}

#detail {
  padding: 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  flex: 1;
}

.detail-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.detail-dash-item {
  padding: 15px;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.detail-dash-icon {
  font-size: 24px;
  color: var(--yellow);
  margin-bottom: 5px;
}

.detail-dash-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.detail-dash-label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.detail-section {
  margin-bottom: 25px;
}

.detail-section-title {
  font-size: 12px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-left: 5px;
  border-left: 3px solid var(--yellow);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 15px;
  border-radius: 16px;
}

.detail-grid-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-grid-item.full {
  grid-column: 1 / -1;
}

.detail-label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 700;
}

.detail-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

#detailMap {
  height: 180px;
  width: 100%;
  grid-column: 1 / -1;
  margin-top: 15px;
  border-radius: 12px;
  z-index: 0;
  overflow: hidden;
  cursor: pointer;
}

.detail-item-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.detail-item-row:last-of-type {
  border-bottom: none;
}

.detail-item-row .label {
  color: var(--gray);
  font-weight: 600;
  margin-right: 12px;
  min-width: 120px;
  font-size: 13px;
  text-transform: uppercase;
  opacity: 1;
}

.detail-item-row .value {
  color: var(--text);
  font-weight: 400;
  flex: 1;
}

.detail-item-row.full-row {
  flex-direction: column;
  gap: 8px;
}

.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--glass-bg);
  color: var(--text);
  font-weight: 500;
}

.chip:hover {
  background: var(--border);
}

.chip.selected {
  background: var(--yellow);
  color: var(--brand-black);
  border-color: var(--yellow);
  font-weight: 700;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 5px;
  z-index: 1000;
  width: 32px;
  height: 32px;
  color: var(--yellow);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

#scrollToTopBtn:hover {
  opacity: 1;
  transform: translateY(-3px);
}

#toast-container {
  position: fixed;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  pointer-events: none;
  width: auto;
}

.toast {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  width: max-content;
  max-width: 90vw;
  pointer-events: auto;
  z-index: 10000;
  flex-wrap: wrap;
}

.toast-refresh-btn {
  background: var(--yellow);
  color: var(--brand-black);
  border: none;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  margin-left: 4px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 14px;
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error .toast-icon {
  color: var(--error);
}

.toast.warning .toast-icon {
  color: var(--pending);
}

.toast-msg {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.spinner {
  font-size: 20px;
  color: var(--yellow);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

#loadingBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

#loadingBar.active {
  opacity: 1;
}

#loadingBar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40%;
  background: var(--yellow);
  transform: translateX(-100%);
  animation: loading 1s infinite ease-in-out;
}

@keyframes loading {
  0% { transform: translateX(-100%);
}
  100% { transform: translateX(350%); }
}

@media (min-width: 769px) {
  .stat-card:hover { transform: translateY(-3px);
}
  .log-card:hover { transform: translateY(-4px); }
  .stat-card:active, .log-card:active { transform: scale(0.98); opacity: 0.8;
}
  .search-wrapper.active {
    position: absolute !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
}
}

@keyframes card-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.98); opacity: 0.7;
}
  100% { transform: scale(1); opacity: 1; }
}

.stat-card.updating {
  will-change: transform, opacity;
  animation: card-pulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card.disabled-card {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(1);
  transform: scale(0.98);
}

#loadMoreContainer {
  text-align: center;
  margin: 20px 0 0 0;
  width: 100%;
  grid-area: more;
}

#loadMoreBtn {
  padding: 10px 24px;
  font-size: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#loadMoreBtn:hover {
  background: var(--border);
  transform: translateY(-2px);
}

#loadMoreBtn:active {
  transform: scale(0.98);
}

::placeholder {
  color: var(--gray);
  opacity: 1;
}

::-webkit-input-placeholder {
  color: var(--gray);
}

::-moz-placeholder {
  color: var(--gray);
  opacity: 1;
}

@media (min-width: 769px) and (max-width: 1100px) {
  #list { grid-template-columns: repeat(2, 1fr); }
  .charts-wrapper { grid-template-columns: 1fr;
}
  .chart-container { height: 300px; }
  .search-wrapper.active { width: calc((100% - 20px) / 2) !important;
}
  .stats-dashboard { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1101px) {
  .search-wrapper.active { width: calc((100% - 40px) / 3) !important;
}
  .stats-dashboard { grid-template-columns: repeat(6, 1fr); }
}

@media (hover: none) {
  html, body { scrollbar-width: none;
}
  ::-webkit-scrollbar { display: none; }
}

@media (max-width: 768px) {
  html, body {
    background-color: #04090f !important;
    background-image: none !important;
  }
  body::before { display: none !important;
}
  main {
    padding-top: calc(80px + env(safe-area-inset-top));
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
}
  .container { width: 97%; max-width: none; }
  header, .header-content, footer, .footer-content {
    display: none !important;
    padding: 0;
    margin: 0;
    height: 0;
    overflow: hidden;
  }
  .mobile-header {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(60px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    background: #04090f !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
}
  .mobile-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: calc(60px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #04090f !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    border-radius: 0 !important;
    z-index: 1000;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }
  .charts-wrapper { grid-template-columns: 1fr;
}
  #list { grid-template-columns: 1fr; }
  .logs { margin-top: 20px; gap: 15px;
}
  .logs-toolbar {
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
}
  .logs-header-group { width: 100%; padding-right: 50px; }
  .search-row { position: static; width: 0; height: 0; margin: 0;
}
  .search-wrapper {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 50;
    transition: width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .search-wrapper.active {
    width: 100%;
    background: #0d1620 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  .search-wrapper.active .search-input { padding: 0 40px 0 16px;
}
  .mob-brand { font-size: 20px; font-weight: 700; color: var(--text);
}
  .mob-brand.christmas-title {
    background: linear-gradient(90deg, #FF3B30, #4CD964, #FFCC00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
  .mob-controls { display: flex; align-items: center; gap: 5px; }
  .mob-user-wrap { position: relative; display: flex; align-items: center;
    gap: 3px; }
  #mobUserName {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mob-user-btn {
    background: transparent !important;
    border: none;
    color: var(--text);
    font-size: 22px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mob-user-dropdown-pos { top: calc(100% + 10px); right: 0;
    min-width: 100px; }
  .mob-logout-btn-center {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    width: 100%;
    color: #FFFFFF !important;
  }
  #mobLangSelect {
    background: transparent !important;
    color: var(--text);
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    font-size: 16px;
    text-align: center;
    text-align-last: center;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #mobLangSelect:hover { background: var(--border) !important;
}
  .nav-item {
    background: none;
    border: none;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 60px;
    transition: transform 0.1s;
}
  .nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: transform 0.2s;
    color: var(--yellow);
}
  .nav-item.active { color: #FFFFFF; }
  .nav-item.active i {
    color: var(--yellow);
    transform: translateY(-2px);
}
  .nav-item:active { transform: scale(0.95); opacity: 0.7; }
  .log-card, .stat-card, .chart-container {
    padding: 16px;
    border-radius: 16px;
    background: #0d1620 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none !important;
}
  .stats-dashboard { gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .stats-controls { margin-left: auto; margin-right: auto;
}
  .chart-container { height: 260px; }
  .form-grid { grid-template-columns: 1fr; gap: 15px;
}
  #toast-container { top: calc(13px + env(safe-area-inset-top)); }
  #loadingBar { top: calc(60px + env(safe-area-inset-top));
}
  #scrollToTopBtn {
    bottom: calc(85px + env(safe-area-inset-bottom));
    right: 5px;
    width: 32px;
    height: 32px;
    font-size: 20px;
}
  .card-details { grid-template-columns: repeat(2, 1fr) !important; gap: 12px 8px; }
  .detail-item {
    align-items: flex-start;
    text-align: left;
    padding-left: 8px;
    border-left: 2px solid var(--border);
  }
  .detail-item .label, .stat-label { font-size: 11px; opacity: 0.7;
}
  .stat-card:hover, .log-card:hover { transform: none; }
  .stat-card:active, .log-card:active { transform: scale(0.99); opacity: 0.9;
}
  .modal-overlay, #viewer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    background: transparent;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s linear;
}
  .modal-overlay.show, #viewer.show { pointer-events: auto; visibility: visible; }
  .modal-content, #viewer > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    background-color: #04090f !important;
    box-shadow: none !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    display: flex;
    flex-direction: column;
    z-index: 2001;
}
  .modal-overlay.show .modal-content, #viewer.show > div { transform: translateX(0) !important;
}
  .modal-header, #viewerHeader {
    flex-shrink: 0;
    height: calc(56px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    padding-left: 16px;
    padding-right: 16px;
    background-color: #04090f !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  .modal-title, #viewerHeader h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    flex: 1;
}
  .modal-header::before, #viewerHeader::before { content: ''; width: 36px; }
  .close-modal-btn, #closeView {
    position: static !important;
    transform: none !important;
    width: 36px;
    height: 36px;
    background: transparent !important;
    color: var(--yellow);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border-radius: 0;
    top: auto;
    right: auto;
  }
  .close-modal-btn:hover { background: rgba(128, 128, 128, 0.2);
    color: var(--text); }
  .close-modal-btn:active { opacity: 0.5; background: rgba(128, 128, 128, 0.3);
}
  .modal-body, #detail {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 16px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
    background-color: #04090f !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }
  .button-row { margin-top: auto; padding-top: 20px;
    padding-bottom: env(safe-area-inset-bottom); }
  #exportModal .modal-content {
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
  }
  .modal-body input, .modal-body select, .modal-body textarea {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    background-clip: padding-box;
    border: 1px solid transparent !important;
    box-shadow: 0 0 0 1px var(--border);
}
  .modal-body input:focus, .modal-body select:focus, .modal-body textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2), 0 0 0 1px var(--yellow) !important;
}
}

@media (max-width: 768px) and (orientation: portrait) {
  #mobLangSelect { display: none !important; }
  #scrollToTopBtn { display: none !important;
}
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 20%, #1a2a40 0%, #0d1620 50%, #000000 100%);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  animation: removeSplash 0.5s ease-out 2.5s forwards;
}

.splash-logo {
  width: 120px;
  height: auto;
  opacity: 0;
  animation: logoFadeInOut 2.5s ease-in-out forwards;
}

@media (max-width: 768px) and (orientation: portrait), (display-mode: standalone) {
  #splash-screen { display: flex;
}
}

@keyframes logoFadeInOut {
  0% { opacity: 0; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1);
}
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.1);
}
}

@keyframes removeSplash {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

#mapModal { z-index: 3000; }

.map-content { height: 80vh;
  max-height: 600px; }

.map-body-layout { padding: 0; display: flex; flex-direction: column; }

#map { flex: 1; width: 100%; min-height: 300px; z-index: 1;
}

.coord-row { display: flex; gap: 10px; }

#coordDisplay { flex: 1; cursor: default; background-color: rgba(0, 0, 0, 0.1);
}

.map-footer {
  padding: 15px 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.map-footer #confirmLocBtn {
  width: 100%;
  flex: 0 0 auto !important;
}

.map-hint { color: var(--gray); font-size: 12px; margin-bottom: 10px;
}

.form-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 10px 0 20px;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper input {
  padding-right: 44px;
}

.input-icon-wrapper #openMapBtn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 44px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--yellow);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.input-icon-wrapper #openMapBtn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.leaflet-control-attribution {
  font-size: 8px !important;
  line-height: 1.2 !important;
  opacity: 0.7;
}

.custom-layer-control {
  display: flex;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px;
  gap: 4px;
  margin-top: 10px;
  margin-right: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.layer-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.layer-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.layer-btn.active {
  background: var(--yellow);
  color: var(--brand-black);
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  padding-right: 60px;
}

.toggle-password {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.toggle-password:hover {
  color: var(--text);
}

.flex-spacer { flex: 1;
}
.mt-0 { margin-top: 0 !important; }
.mt-auto { margin-top: auto; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px;
}
.w-100 { width: 100%; }
.cursor-default { cursor: default; }
.visibility-hidden { visibility: hidden; }
.text-error { color: var(--error); }
.btn-danger { background: var(--error);
  color: white; }
.warning-icon { color: var(--error); margin-right: 5px; }
.skeleton-card { opacity: 0.7; pointer-events: none;
}
.skeleton-bar {
  background: rgba(128, 128, 128, 0.2);
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}

.skeleton-bar.title { height: 20px; width: 60%;
  margin-bottom: 10px; }
.skeleton-bar.subtitle { height: 14px; width: 40%; margin-bottom: 20px; }
.skeleton-row { display: flex; gap: 10px;
}
.skeleton-box {
  height: 40px;
  flex: 1;
  background: rgba(128, 128, 128, 0.1);
  border-radius: 8px;
  animation: pulse 1.5s infinite;
}

.chart-body-center { position: relative; height: 240px; display: flex; justify-content: center; }

.modal-content.export-modal { max-width: 450px; height: auto; max-height: 85vh;
}
.modal-content.settings-modal { max-width: 450px; height: auto; min-height: 300px; }
.modal-content.small-modal { max-width: 400px; height: auto; }
.modal-body.settings-body { display: flex; flex-direction: column;
  gap: 30px; }
.form-body { display: flex; flex-direction: column; gap: 20px; }
.form-grid.grid-single-col { grid-template-columns: 1fr !important; }
.settings-section-label { margin-bottom: 10px;
  display: block; }
.settings-card { padding: 15px; border-radius: 12px; display: flex; flex-direction: column; gap: 15px; }
.settings-row { display: flex; justify-content: space-between;
  align-items: center; }
.settings-info-col { display: flex; flex-direction: column; }
.settings-label-small { font-size: 10px; color: var(--gray); text-transform: uppercase; }
.settings-value { font-weight: 600;
  color: var(--text); }
.settings-value.email { font-size: 13px; }
.settings-edit-btn { background: rgba(255, 255, 255, 0.1); color: var(--yellow);
}
.settings-arrow-btn { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.settings-delete-btn { background: rgba(255, 69, 58, 0.15); color: var(--error);
}
.settings-divider { height: 1px; background: var(--border); }
.settings-action-text { font-size: 14px; font-weight: 500; color: var(--text); }
.settings-action-text.danger { color: var(--error);
}
.settings-icon-small { font-size: 12px; }

.warning-box {
  padding: 15px;
  background: rgba(255, 69, 58, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-row { display: flex; align-items: center; gap: 10px; }

.checkbox-input {
  width: 20px;
  height: 20px;
  accent-color: var(--error);
  cursor: pointer;
  margin: 0;
  border-radius: 4px;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

.checkbox-label {
  margin: 0;
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  color: var(--text);
}

.input-feedback-hint { font-size: 11px; color: var(--gray); margin-top: 4px; }
.detail-unit-small { font-size: 12px; opacity: 0.7; font-weight: 500;
}
.brand-suffix { font-size: 0.8em; }

.theme-xmas-border {
  border-bottom-color: #FF3B30 !important;
}

.theme-ocean-border {
  border-bottom-color: #00C6FF !important;
}
