/* Multi-Theme CSS for PACS System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Dark Theme (Exclusivo para laudo.php) */
  --bg-main: #000000;
  --bg-panel: #0d0d0d;
  --bg-card: #171717;
  --bg-card-hover: #262626;
  --bg-input: #080808;
  
  --border-color: #333333;
  --border-active: #ffffff;
  
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.3);
  --accent-white: #ffffff;
  --accent-green: #00e676;
  --accent-amber: #ffab00;
  --accent-red: #ff5252;
  
  --text-main: #ffffff;
  --text-muted: #d0d0d0;
  --text-hud: #00ffcc;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --header-height: 40px;
  --toolbar-height: 38px;
  --thumb-sidebar-width: 190px;
  --sidebar-width: 240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Scrollbar customizada Dark / Amarronzada (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: #3d3028 #14110f;
}

/* Scrollbar customizada Dark / Amarronzada (Chrome, Edge, Safari, WebKit) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #14110f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #3d3028;
  border-radius: 4px;
  border: 1px solid #231b16;
}
::-webkit-scrollbar-thumb:hover {
  background: #5a473b;
}
::-webkit-scrollbar-corner {
  background: #14110f;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}

/* Light Theme Variant (Para index.php e usuarios.php) */
body.light-theme {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  height: auto !important;
  overflow-y: auto !important;
}

/* Light Header */
body.light-theme .app-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

body.light-theme .brand-title {
  color: #0f172a;
}

body.light-theme .brand-icon {
  background: #0f172a;
  color: #ffffff;
}

body.light-theme .brand-subtitle {
  background: #e2e8f0;
  color: #334155;
  border-color: #cbd5e1;
}

body.light-theme .status-badge {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

body.light-theme .btn-laudo-header {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

body.light-theme .btn-laudo-header:hover {
  background: #1e293b;
}

body.light-theme .tool-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

body.light-theme .tool-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Slim Header Dark (laudo.php) */
.app-header {
  height: var(--header-height);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: 800;
  font-size: 12px;
}

.brand-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 10px;
  color: #ffffff;
  font-family: var(--font-mono);
  background: #262626;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid #444444;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

/* Botão Laudar Exame */
.btn-laudo-header {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  height: 26px;
  padding: 0 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-laudo-header:hover {
  background: #e0e0e0;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.4);
}

.btn-laudo-header svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Compact Toolbar */
.toolbar {
  height: var(--toolbar-height);
  background: #0d0d0d;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  overflow-x: auto;
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-right: 8px;
  border-right: 1px solid var(--border-color);
}

.tool-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tool-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: #555555;
}

.tool-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
}

.tool-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Main Content Area */
.app-container {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Left Thumbnail Sidebar */
.thumbnail-sidebar {
  width: var(--thumb-sidebar-width);
  background: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  z-index: 8;
}

.thumbnails-container {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumbnail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.thumbnail-card:hover {
  border-color: #666666;
  background: var(--bg-card-hover);
}

.thumbnail-card.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  background: #222222;
}

.thumbnail-img-box {
  width: 100%;
  height: 110px;
  background: #000000;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid #282828;
}

.thumbnail-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #000000;
  border: 1px solid #555555;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 3px;
}

.thumbnail-modality {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #1a1a1a;
  border: 1px solid #555555;
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 3px;
}

.thumbnail-info {
  margin-top: 5px;
}

.thumbnail-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumbnail-sub {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Viewport Area */
.viewport-wrapper {
  flex: 1;
  background: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.viewport-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000000;
  cursor: grab;
}

.viewport-container[data-tool="pan"] { cursor: grab; }
.viewport-container[data-tool="pan"]:active { cursor: grabbing; }
.viewport-container[data-tool="zoom"] { cursor: zoom-in; }
.viewport-container[data-tool="zoom"]:active { cursor: ns-resize; }
.viewport-container[data-tool="ruler"] { cursor: crosshair; }
.viewport-container[data-tool="wl"] { cursor: ew-resize; }

/* Cornerstone canvas element */
#medical-canvas, #annotation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#annotation-canvas {
  pointer-events: none;
  z-index: 5;
}

/* HUD Overlay Text */
.hud-overlay {
  position: absolute;
  color: var(--text-hud);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
  z-index: 6;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #333333;
  border-radius: 4px;
  margin: 8px;
}

.hud-top-left { top: 0; left: 0; }
.hud-top-right { top: 0; right: 0; text-align: right; }
.hud-bottom-left { bottom: 0; left: 0; }
.hud-bottom-right { bottom: 0; right: 0; text-align: right; }

.hud-highlight {
  color: #ffffff;
  font-weight: bold;
}

/* Drag and drop overlay */
.drop-zone-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  border: 2px dashed #ffffff;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drop-zone-overlay.drag-over {
  opacity: 1;
  pointer-events: all;
}

.drop-zone-icon {
  width: 48px;
  height: 48px;
  color: #ffffff;
}

/* Right Inspector Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-panel);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 8;
}

.sidebar-panel {
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-title svg {
  color: #ffffff;
}

/* Sliders & Controls */
.control-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.control-value {
  font-family: var(--font-mono);
  color: #ffffff;
  font-weight: bold;
}

input[type="range"] {
  width: 100%;
  accent-color: #ffffff;
  background: var(--bg-input);
  height: 4px;
  border-radius: 2px;
  cursor: pointer;
}

.preset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 6px;
}

.btn-preset {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-preset:hover {
  background: var(--bg-card-hover);
  border-color: #ffffff;
}

/* Table of Measurements */
.measurements-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 220px;
  overflow-y: auto;
}

.measurement-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 5px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.measurement-value {
  font-family: var(--font-mono);
  color: var(--accent-amber);
  font-weight: 600;
}

.btn-delete {
  background: transparent;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 12px;
}

/* Modal do Laudo Médico */
.laudo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.laudo-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.laudo-modal-container {
  background: #121215;
  border: 1px solid #383840;
  border-radius: 12px;
  width: 95vw;
  max-width: 1360px;
  height: 94vh;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.laudo-header {
  padding: 14px 22px;
  background: #18181c;
  border-bottom: 1px solid #28282e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.laudo-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: #cccccc;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-close-modal:hover {
  color: #ffffff;
  background: #333333;
}

.laudo-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.laudo-patient-banner {
  background: #18181c;
  border: 1px solid #28282e;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e0e0e0;
  flex-shrink: 0;
}

.laudo-textarea {
  width: 100%;
  background: #09090b;
  border: 1.5px solid #383840;
  border-radius: 8px;
  color: #f8fafc;
  padding: 14px 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
  box-sizing: border-box;
  white-space: pre-wrap;
  tab-size: 4;
}

.laudo-textarea-principal {
  min-height: 320px;
  flex: 1;
}

.laudo-textarea-conclusao {
  min-height: 95px;
  line-height: 1.55;
}

.laudo-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: #0c0d11;
}

.laudo-textarea[readonly] {
  background: #18181b;
  border-color: #27272a;
  color: #cbd5e1;
  cursor: default;
}

.laudo-input {
  background: #080808;
  border: 1px solid #444444;
  border-radius: 5px;
  color: #ffffff;
  padding: 8px 10px;
  font-size: 12px;
  width: 100%;
}
.laudo-input:focus {
  outline: none;
  border-color: #ffffff;
}

.laudo-footer {
  padding: 12px 16px;
  background: #1a1a1a;
  border-top: 1px solid #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-weight: 700;
}
.btn-primary:hover {
  background: #e0e0e0;
  color: #000000;
}

/* Notification Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
}

.toast {
  background: #1f1f1f;
  border-left: 3px solid #ffffff;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
  animation: slideIn 0.25s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==================================================
   Modal Flutuante de Filtros & Edição Completa da Imagem
   ================================================== */
.floating-filter-modal {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 310px;
  max-height: calc(100vh - 100px);
  background: #0d0d0d;
  border: 1px solid #333333;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 95;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.floating-filter-modal.active {
  display: flex;
  animation: filterModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes filterModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.filter-modal-header {
  padding: 10px 14px;
  background: #141414;
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-modal-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-modal-body {
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.filter-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.btn-filter-tool {
  background: #171717;
  border: 1px solid #333333;
  color: #e0e0e0;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  font-weight: 500;
  text-align: center;
}

.btn-filter-tool:hover {
  background: #262626;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-filter-tool.active {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  border-color: #ffffff;
}

.filter-modal-footer {
  padding: 10px 14px;
  background: #141414;
  border-top: 1px solid #282828;
  display: flex;
}

.btn-reset-filters {
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  background: #1f2937;
  color: #f87171;
  border: 1px solid #374151;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.btn-reset-filters:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

/* ==================================================
   Modal Flutuante Pequeno de Medições da Régua (PACS)
   ================================================== */
.floating-measurement-modal {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 290px;
  max-height: calc(100vh - 120px);
  background: #0d0d0d;
  border: 1px solid #333333;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  z-index: 96;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.floating-measurement-modal.active {
  display: flex;
  animation: measurementModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes measurementModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.measurement-modal-header {
  padding: 10px 12px;
  background: #141414;
  border-bottom: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.measurement-modal-title {
  font-size: 12px;
  font-weight: 700;
  color: #00e5ff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.measurement-modal-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.3);
  font-weight: 700;
}

.measurement-modal-body {
  padding: 10px 12px;
  overflow-y: auto;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.measurement-scale-banner {
  background: #171717;
  border: 1px solid #262626;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 10.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.measurement-scale-banner b {
  color: #f1f5f9;
  font-family: var(--font-mono);
}

.measurement-card-item {
  background: #151515;
  border: 1px solid #2d2d2d;
  border-left: 3px solid #00e5ff;
  border-radius: 5px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.15s ease;
}

.measurement-card-item:hover {
  background: #1c1c1c;
  border-color: #404040;
}

.measurement-card-item.selected {
  border-left-color: #ffab00;
  background: #1f1a10;
}

.measurement-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.measurement-card-label {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  font-family: var(--font-mono);
}

.measurement-card-sub {
  font-size: 10px;
  color: #00e5ff;
  font-weight: 600;
}

.btn-delete-measurement {
  background: transparent;
  border: 1px solid transparent;
  color: #ef4444;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-measurement:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}

.measurement-modal-empty {
  padding: 16px 8px;
  text-align: center;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.measurement-modal-footer {
  padding: 8px 12px;
  background: #141414;
  border-top: 1px solid #282828;
  display: flex;
  gap: 6px;
}

.btn-reset-measurements {
  width: 100%;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 600;
  background: #1c1917;
  color: #f87171;
  border: 1px solid #442222;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}

.btn-reset-measurements:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

