/* Apple-inspired Minimalist Light Theme */

html, body {
  height: 100%;
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.center {
  align-content: center;
  text-align: center;
  margin: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.center2 {
  align-content: center;
  text-align: center;
  margin: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.buttonContainer {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  gap: 12px;
}

.columnar {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.button {
  min-width: 100px;
  min-height: 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  background: #007AFF;
  z-index: 4;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 12px 24px;
}

.button:hover {
  background: #0051D5;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 122, 255, 0.2);
}

.spacer {
  width: 12px;
}

.visualscanarea {
  width: 100%;
  max-width: 100vw;
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
}

.haloContainer {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  z-index: 1;
  background: #FFFFFF;
}

.halo {
  position: absolute;
  top: 0px;
  left: 30px;
  width: 200px;
  height: 100px;
  z-index: 2;
}

.halo table {
  border-collapse: separate;
  border-spacing: 80px;
  text-align: center;
}

.halo table td {
  border: 0;
  text-align: center;
}

.halo-image-container {
  position: relative;
}

.halo-image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.serverViewClass,
#serverViewContainer_id {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#serverImages_id {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3vh;
  width: 100%;
  z-index: 2;
}

.reloadMessage {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #86868B;
}

.progress-bar__container {
  width: 80%;
  height: 8px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background-color: #E5E5EA;
  transition: all 0.3s ease;
}

.progress-bar {
  position: absolute;
  height: 100%;
  width: 100%;
  content: "";
  background-color: #007AFF;
  top: 0;
  bottom: 0;
  left: -100%;
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.progress-bar__text {
  display: none;
}

.start-scan-table {
  border: 0;
  text-align: center;
}

.start-scan-table td {
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  color: #1D1D1F;
}

.gt-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  min-width: 640px;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 5;
  text-align: right;
}

.gt-table td {
  text-align: right;
  padding: 16px;
  border-bottom: 1px solid #F5F5F7;
}

.gt-table thead tr {
  text-align: right;
  background-color: #F5F5F7;
}

.gt-table tbody tr:nth-of-type(even) {
  background-color: #FAFAFA;
}

.gt-table tbody tr:last-child td {
  border-bottom: none;
}

.styled-table {
  border-collapse: collapse;
  margin: 5px 0;
  font-size: 0.9em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  min-width: 640px;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 5;
  width: 97%;
}

.styled-table thead tr {
  background-color: #F5F5F7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #1D1D1F;
  text-align: left;
}

.styled-table th,
.styled-table td {
  padding: 16px 20px;
  font-size: 28px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #F5F5F7;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #FAFAFA;
}

.styled-table tbody tr:last-of-type {
  border-bottom: none;
}

.styled-table tbody tr.active-row {
  font-weight: 600;
  color: #007AFF;
}

.centered-div {
  display: flex;
  justify-content: center;
}

.viewButton_notused {
  display: inline-block;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.button img {
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

.emoji-icon {
  font-size: 2.5em;
}

.target_measurement {
  width: calc(3ch + 10px);
  font-size: 28px;
  text-align: center;
  border: 1px solid #D2D2D7;
  border-radius: 8px;
  padding: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #FFFFFF;
  color: #1D1D1F;
  transition: border-color 0.2s ease;
}

.target_measurement:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.gt_measurement {
  width: calc((5ch + 10px)*2);
  text-align: center;
  font-size: 48px;
  border: 1px solid #D2D2D7;
  border-radius: 8px;
  padding: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #FFFFFF;
  color: #1D1D1F;
  transition: border-color 0.2s ease;
}

.gt_measurement:focus {
  outline: none;
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.user-msg-normal {
  font-size: 24px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1D1D1F;
  padding: 20px;
}

.user-msg-warning {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #FFF4E5;
  color: #FF9500;
  padding: 20px;
  border-radius: 12px;
}

.user-msg-green {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #E8F5E9;
  color: #34C759;
  padding: 20px;
  border-radius: 12px;
}

.wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan_button {
  min-width: 200px;
  min-height: 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  background: #007AFF;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 16px 32px;
}

.scan_button:hover {
  background: #0051D5;
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
  transform: translateY(-2px);
}

.scan_button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}

.buttons {
  min-width: 100px;
  min-height: 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  background: #007AFF;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
  outline: none;
  position: relative;
  padding: 12px 24px;
}

.buttons:hover {
  background: #0051D5;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
  transform: translateY(-1px);
}

.buttons:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 122, 255, 0.2);
}

.length-meter-img, .width-meter-img, .instep-meter-img, .heel2ball-meter-img, .girth-meter-img, .wms-fw-meter-img {
  fill: transparent;
  stroke: #D2D2D7;
  stroke-width: 2px;
  transition: all 0.2s ease;
  y: 0;
}
