/* Admin styling for better UX */
.inline-related .form-row {
  padding: 10px;
}

.field-measurements input {
  font-family: monospace;
  min-width: 400px;
}

.field-measurement_columns textarea {
  font-family: monospace;
  height: 60px;
}

.field-measurement_instructions textarea {
  height: 200px;
}

.field-measurement_guide_image img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border: 1px solid #ddd;
  padding: 5px;
}

/* Help text styling */
.help {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 5px;
}

/* Modal Overlay */
.sizechart-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  animation: fadeIn 0.3s ease;
}

.sizechart-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal Container */
.sizechart-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: slideDown 0.3s ease;
}

.sizechart-modal.active {
  display: block;
}

/* Modal Header */
.sizechart-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #e0e0e0;
}

.sizechart-modal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}

.sizechart-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.sizechart-modal-close:hover {
  color: #000;
}

/* Modal Body */
.sizechart-modal-body {
  padding: 0;
}

/* Tabs */
.size-chart-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  background: #f8f8f8;
}

.size-chart-tab {
  flex: 1;
  padding: 15px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.size-chart-tab:hover {
  background: #efefef;
}

.size-chart-tab.active {
  color: #000;
  background: white;
}

.size-chart-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
}

/* Tab Content */
.size-chart-tab-content {
  display: none;
  padding: 30px;
}

.size-chart-tab-content.active {
  display: block;
}

/* Notes/Warning Box */
.size-chart-notes {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Intro Text */
.size-chart-intro {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Table Wrapper */
.size-chart-table-wrapper {
  overflow-x: auto;
}

/* Size Chart Table */
.size-chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.size-chart-table thead {
  background: #f5f5f5;
}

.size-chart-table th {
  padding: 12px 15px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #ddd;
}

.size-chart-table td {
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.size-chart-table tbody tr:hover {
  background: #f9f9f9;
}

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

/* Measurement Guide Image */
.measurement-guide-image {
  text-align: center;
  margin-bottom: 30px;
}

.measurement-guide-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Measurement Instructions */
.measurement-instructions {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.measurement-instructions p {
  margin-bottom: 15px;
}

.measurement-instructions strong {
  color: #000;
  font-weight: 600;
}

/* Error State */
.size-chart-error {
  padding: 40px;
  text-align: center;
  color: #666;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translate(-50%, -60%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .sizechart-modal {
    width: 95%;
    max-height: 95vh;
  }
  .sizechart-modal-header {
    padding: 15px 20px;
  }
  .size-chart-tab-content {
    padding: 20px;
  }
  .size-chart-table {
    font-size: 12px;
  }
  .size-chart-table th,
  .size-chart-table td {
    padding: 8px 10px;
  }
}

/*# sourceMappingURL=main.css.map */
