/* Base Styles */
/* #tdsm { */
  /* ===== Typography ===== */
  /* Alternative: Focus state */
  /* ===== Form Elements ===== */
  /* ===== Buttons ===== */
  /* ===== Media & Images ===== */
  /* ===== Step Indicator ===== */
  /* ===== Spacing & Dividers ===== */
  /* ===== Flex Utilities ===== */
  /* ===== Text Utilities ===== */
  /* Container Styles */
  /* Profile Card */
  /* Profile Actions */
  /* Height Display */
  /* Step 1 Styles */
  /* Button Styles */
  /* Step 2 Styles */
  /* 
   */
  /* Personal Info Section */
  /* Main Content */
  /* Size Selection */
  /* Body Type Grid */
  /* Buttons */
  /* Step 3 Container */
  /* Profile Summary Section */
  /* Measurements Container */
  /* Measurements Grid */
  /* Action Buttons */
  /* Utility Classes */
  /* Step Indicator Container */
  /* Step Indicator Item */
  /* Step Indicator */
  /* Step Label */
  /* Main Container */
  /* Layout */
  /* Profile Grid */
  /* Profile Card */
  /* Add Profile Button */
  /* Modal Styles */
  /* Button Container */
  /* Add Profile Button */
  /* Override color for VIEW */
  /* Utility Classes */
  /* ===== Modal ===== */
  /* table */
/* } */
:root{
  --baseFont:14px;
--client-primary:#004771;
--client-primary-hover:#0f4391; 
--client-primary-hold:#0F4391;   
}
#tdsm *{
  box-sizing: border-box;
  margin: 0;
  padding: 0; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: var(--baseFont);  
  
}

div#tdsm {
    position: absolute;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    background: #fff;
    display: none;
    left: 0;
    overflow: hidden;
}
#tdsm #measurementInitial{
  display: block!important;
}
#tdsm body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}
#tdsm .hidden {
  display: none;
}
#tdsm .full-width-container {
  width: 100%;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e5e7eb;
}
#tdsm .content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
#tdsm .profileBox {
  height: calc(100vh - 290px);
    overflow: auto;
     grid-template-rows: max-content;
}
#tdsm .profile-layout {
  min-height: 100vh;
  display: flex;
}
#tdsm .profile-content {
  flex: 1;
  padding: 1.5rem 2rem;
}
#tdsm .fullHeightflex {
  display: flex;
  min-height: 100vh; /* full screen height */
}
#tdsm .main-content {
  flex: 1;
  padding: 24px 32px; /* 6*4=24px top/bottom, 8*4=32px left/right */
}
#tdsm .grid {
  display: grid;
  gap: 1rem;
}
#tdsm .grid-cols-1 {
  grid-template-columns: 1fr;
}
#tdsm .grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
#tdsm .grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
#tdsm .grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}
.continue-cart-btn{
  background-color: var(--client-primary);
}
.continue-cart-btn:hover{
  background-color: var(--client-primary-hover);
}
@media (min-width: 768px) {
  #tdsm .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  #tdsm .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
    place-content: flex-start;
  }
  #tdsm .md\:grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}
#tdsm .label {
 font-size: calc((var(--baseFont)) * 1);
  color: #6b7280;
  font-weight: 600;
}
#tdsm .value {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}
#tdsm .section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
#tdsm .card {
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
#tdsm .size-box {
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
#tdsm .size-box:hover {
  border-color: var(--client-primary-hover);
}
#tdsm .size-box.active {
  border-color: var(--client-primary); /* border-blue-500 */
  box-shadow: 0 0 0 3px #93c5fd; /* ring ring-blue-300 */
}
#tdsm .size-box:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px #93c5fd;
  outline: none;
}
#tdsm .form-group {
  margin-bottom: 1rem;
}
#tdsm .form-control {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.5rem;
}
#tdsm .btn {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  min-width: 120px;
}
#tdsm .btn-primary {
  background-color: var(--client-primary);
  color: white;
}
#tdsm .btn-primary:hover{
  background-color: var(--client-primary-hover);
}
#tdsm .btn-secondary {
  background-color: #d1d5db;
  color: #1f2937;
}
#tdsm .btn-success {
  background-color: #16a34a;
  color: white;
}
#tdsm .btn-rounded {
  border-radius: 9999px;
}
#tdsm .media-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 0.5rem;
}
#tdsm .media-container iframe,
#tdsm .media-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#tdsm .img-preview {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
}
#tdsm .step-indicator-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  text-align: center;
  margin: 1rem;
}
#tdsm .step-indicator {
  font-size: calc((var(--baseFont)) * 1);
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
#tdsm .active-step {
  background-color: #3b82f6;
  color: white;
}
#tdsm .inactive-step {
  background-color: #e5e7eb;
  color: #374151;
}
#tdsm .divider {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}
#tdsm .mt-1 {
  margin-top: 0.25rem;
}
#tdsm .mt-2 {
  margin-top: 0.5rem;
}
#tdsm .mt-4 {
  margin-top: 1rem;
}
#tdsm .mt-6 {
  margin-top: 1.5rem;
}
#tdsm .mt-8 {
  margin-top: 2rem;
}
#tdsm .flex {
  display: flex;
}
#tdsm .flex-col {
  flex-direction: column;
}
#tdsm .items-center {
  align-items: center;
}
#tdsm .justify-center {
  justify-content: center;
}
#tdsm .justify-between {
  justify-content: space-between;
}
#tdsm .gap-2 {
  gap: 0.5rem;
}
#tdsm .gap-4 {
  gap: 1rem;
}
#tdsm .gap-6 {
  gap: 1.5rem;
}
#tdsm .text-center {
  text-align: center;
}
#tdsm .text-sm {
  /* font-size: 0.875rem; */
}
#tdsm .text-base {
  font-size: 1rem;
}

#tdsm .text-xl {
  font-size: 1.25rem;
}
#tdsm .font-medium {
  font-weight: 500;
}
#tdsm .font-bold {
  font-weight: 700;
}
#tdsm .text-gray-700 {
  color: #4a5568;
}
#tdsm .text-gray-800 {
  color: #1f2937;
}
#tdsm .profile-container {
  width: 100%;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
}
#tdsm .profile-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  #tdsm .profile-box {
    grid-template-columns: repeat(2, 1fr);
  }
}
#tdsm .profile-card {
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
#tdsm .profile-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
#tdsm .profile-details {
 font-size: calc((var(--baseFont)) * 1);
  color: #4a5568;
}
#tdsm .profile-actions {
  font-size: 0.75rem;
  color: #718096;
  margin-top: 0.5rem;
}
#tdsm .action-link {
  margin: 0 0.25rem;
}
#tdsm .action-link:hover {
  text-decoration: underline;
}
#tdsm .action-link.delete,
#tdsm .action-link.modify {
  color: inherit;
}
#tdsm .action-link.view {
  color: #3182ce;
}
#tdsm .height-feet,
#tdsm .height-inch {
  font-weight: 600;
}
#tdsm .step-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 1.5rem;
}
#tdsm .step-container h3 {
 font-size:calc((var(--baseFont))* 1.5);
  margin-bottom: 3rem;
  text-align: center;
}
#tdsm .step-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  #tdsm .step-content {
    flex-direction: row;
  }
}
#tdsm .video-container {
  width: 100%;
}
@media (min-width: 768px) {
  #tdsm .video-container {
    width: 740px;
  }
}
#tdsm .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 0.5rem;
  overflow: hidden;
}
#tdsm .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#tdsm .form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#tdsm .form-group {
  margin-bottom: 0.5rem;
}
#tdsm .form-group label {
  display: block;
  font-size:calc((var(--baseFont))* 1);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
#tdsm .form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#tdsm .unit-toggle {
  color: #3b82f6;
  text-decoration: underline;
  font-size: calc((var(--baseFont)) * 1);
}
#tdsm .form-group input,
#tdsm .form-group select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.7rem;
  /* margin-top: 0.25rem; */
  margin-top: 2px;
}
#tdsm .imperial-input {
  display: flex;
  gap: 0.5rem;
}
#tdsm .imperial-input select {
  flex: 1;
  padding: 10.2px !important;
}

#tdsm .form-note {
  font-size: calc((var(--baseFont))* 1);
  color: #6b7280;
}
#tdsm .form-actions {
  display: flex;
  justify-content: flex-end;
}
#tdsm .btn-primary {
  background-color: var(--client-primary);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  width: 8rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
}
#tdsm .btn-secondary {
  background-color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: 8rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
}
#tdsm .btn-success {
  background-color: #16a34a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: 8rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
}
#tdsm .summary-section {
  text-align: center;
  margin-bottom: 1rem;
  background-color: #f3f4f6;
}
#tdsm .summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  #tdsm .summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#tdsm .summary-grid.extended {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  #tdsm .summary-grid.extended {
    grid-template-columns: repeat(5, 1fr);
  }
}
#tdsm .summary-item {
  text-align: left;
}
#tdsm .summary-label {
  font-size: calc((var(--baseFont)) * 1);
  color: #6b7280;
  font-weight: 600;
}
#tdsm .summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}
#tdsm .divider {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}
#tdsm .size-selection {
  margin-bottom: 2.5rem;
}
#tdsm .size-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
#tdsm .size-box {
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
}
#tdsm .size-box:hover {
  border-color: var(--client-primary-hover);
}
#tdsm .size-label {
  font-size: calc((var(--baseFont)) * 1);
  font-weight: 600;
}
#tdsm .size-detail {
  font-size: 0.75rem;
  color: #6b7280;
}
#tdsm .body-type-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  #tdsm .body-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #tdsm .body-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#tdsm .body-type-item {
  margin-bottom: 1.5rem;
}
#tdsm .body-type-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
#tdsm .body-type-content {
  display: flex;
  gap: 1rem;
}
#tdsm .body-type-image {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
}
#tdsm .body-type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#tdsm .body-type-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#tdsm .body-type-options label {
  display: block;
}
#tdsm .step-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}
#tdsm .step-two-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#tdsm .hidden-checkbox {
  display: none;
}
#tdsm .personal-info-section {
  text-align: center;
  margin-bottom: 1rem;
  background-color: #f3f4f6;
}
#tdsm .personal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: calc((var(--baseFont)) * 1);
}
@media (min-width: 768px) {
  #tdsm .personal-info-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
#tdsm .info-item {
  text-align: left;
}
#tdsm .info-label {
  color: #6b7280;
  font-weight: 600;
}
#tdsm .info-value {
  font-size: calc((var(--baseFont))* 1);;
  font-weight: 600;
  color: #1f2937;
}
#tdsm .step-two-content {
  max-width: 80rem;
  margin: 0 auto;
  background: white;
  padding: 1.5rem;
}
#tdsm .size-selection-container {
  margin-bottom: 2.5rem;
}
#tdsm .size-options-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
#tdsm .size-box {
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
#tdsm .size-box:hover {
  border-color: var(--client-primary-hover);
}
#tdsm .size-label {
  font-size: calc((var(--baseFont)) * 1);
  font-weight: 600;
}
#tdsm .size-detail {
  font-size: 0.75rem;
  color: #6b7280;
}
#tdsm .section-divider {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid #e5e7eb;
}
#tdsm .body-type-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  #tdsm .body-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #tdsm .body-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
#tdsm .body-type-section {
  margin-bottom: 1.5rem;
}
#tdsm .body-type-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
#tdsm .body-type-content {
  display: flex;
  gap: 1rem;
}
#tdsm .body-type-image-preview {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
}
#tdsm .body-type-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#tdsm .body-type-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#tdsm .option-label {
  display: block;
  cursor: pointer;
}
#tdsm .step-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}
#tdsm .primary-button {
  background-color: var(--client-primary);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  width: 8rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
#tdsm .primary-button:hover{
  background-color: var(--client-primary-hover);
}
#tdsm .secondary-button {
  background-color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: 8rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
#tdsm .step-three-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
}
#tdsm .profile-summary-section {
  text-align: center;
  margin-bottom: 1rem;
  background-color: #f3f4f6;
}
#tdsm .extended-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: calc((var(--baseFont)) * 1);
}
@media (min-width: 768px) {
  #tdsm .extended-summary-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
#tdsm .summary-item {
  text-align: left;
}
#tdsm .summary-label {
  color: #6b7280;
  font-weight: 600;
  font-size: calc((var(--baseFont)) * 1);
}
#tdsm .summary-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}
#tdsm .edit-profile-link {
  color: #3b82f6;
  text-decoration: underline;
  font-size: calc((var(--baseFont)) * 1);
}
#tdsm .measurements-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem;
}
#tdsm .measurements-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
#tdsm .measurements-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  #tdsm .measurements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
#tdsm .measurement-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#tdsm .measurement-label {
  width: 10rem;
  font-weight: 500;
}
#tdsm .measurement-input-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
#tdsm .measurement-input {
  border: 1px solid #d1d5db;
  padding: 0.25rem;
  border-radius: 0.25rem;
  width: 6rem;
  text-align: right;
}
#tdsm .measurement-unit {
  font-size: calc((var(--baseFont)) * 1);
  color: #6b7280;
}
#tdsm .action-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}
#tdsm .secondary-action-button {
  background-color: #d1d5db;
  color: #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: 8rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
#tdsm .primary-action-button {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: 8.5rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
#tdsm .confirm-button {
  background-color: #16a34a;
}
#tdsm .step-indicator-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  text-align: center;
  margin: 1rem;
}
#tdsm .step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#tdsm .step-indicator {
  font-size: calc((var(--baseFont)) * 1);
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
#tdsm .active-step {
  background-color: var(--client-primary-hold);
  color: white;
}
#tdsm .inactive-step {
  background-color: #e5e7eb;
  color: #374151;
}
#tdsm .step-label {
  /* font-size: 0.75rem; */
  font-weight: 500;
  color: #1f2937;
  margin-top: 0.25rem;
}
#tdsm .full-width-container {
  width: 100%;
  background-color: #f5f5f5; /* white-100 equivalent */
  border-bottom: 1px solid #e5e7eb; /* default border color */
}
#tdsm .profiles-container {
  width: 100%;
}
#tdsm .profile-layout {
  min-height: 100vh;
  display: flex;
}
#tdsm .profile-content {
  flex: 1;
  padding: 1.5rem 2rem;
}
#tdsm .profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  #tdsm .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
#tdsm .profile-card {
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
#tdsm .profile-name {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
#tdsm .profile-details {
  font-size: calc((var(--baseFont)) * 1);
  color: #4a5568;
}
#tdsm .profile-actions {
  font-size: 0.75rem;
  color: #718096;
  margin-top: 0.5rem;
}
#tdsm .action-link {
  margin: 0 0.25rem;
}
#tdsm .action-link:hover {
  text-decoration: underline;
}
#tdsm .action-link.delete,
#tdsm .action-link.modify {
  color: inherit;
}
#tdsm .action-link.view {
  color: #3182ce;
}
#tdsm .add-profile-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}
#tdsm .add-profile-button {
  background-color: #4299e1;
  color: white;
 font-size: calc((var(--baseFont)) * 1);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
}
#tdsm .add-profile-button:hover {
  background-color: var(--client-primary-hover);
}
#tdsm .profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}
#tdsm .button-container {
      z-index: 9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 26px;
    left: 0;
    right: 0;
    min-height: 200px;
    box-shadow: 1px -5px 5px 0px rgba(156, 156, 156, 0.75);
    -webkit-box-shadow: 1px -5px 5px 0px rgba(156, 156, 156, 0.4);
    -moz-box-shadow: 1px -5px 5px 0px rgba(156,156,156,0.75);
}
#tdsm .add-profile-button {
  background-color: #fff; /* blue-500 */
  color: #000;
  font-size: calc((var(--baseFont)) * 1); /* text-sm */
  font-weight: 500; /* font-medium */
  padding: 0.5rem 1.5rem; /* py-2 px-6 */
  border-radius: 9999px; /* rounded-full */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
   min-width: 220px;
   max-width: 220px;
   border: 2px solid;
   color: #121821;
}
#tdsm .add-cart-button {
  background-color: var(--client-primary); /* blue-500 */
  color: white;
  font-size: calc((var(--baseFont)) * 1); /* text-sm */
  font-weight: 500; /* font-medium */
  padding: 0.5rem 1.5rem; /* py-2 px-6 */
  border-radius: 9999px; /* rounded-full */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-width: 220px;
        max-width: 220px;
           border: 2px solid var(--client-primary);
}
#tdsm .title {
    text-align: center;
    padding: 1rem;

}
#tdsm .add-profile-button:hover {
  background-color: #121821;
  color:#fff;
}
#tdsm .add-cart-button:hover {
  background-color: var(--client-primary-hover);
   border: 2px solid  var(--client-primary-hover);
  color:#fff;
}
#tdsm .boxBorder {
  border: 1px solid #e5e7eb;
  padding: 16px;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
#tdsm .heading {
  font-weight: bold;
  font-size: 1.125rem;
}
#tdsm .paragraph {
 font-size: calc((var(--baseFont)) * 1);
  color: #374151;
}
#tdsm .action-link {
  font-size: 0.75rem;
  color: #4b5563;
  text-decoration: none;
  margin-right: 0.5rem;
}
#tdsm .action-link:last-child {
  margin-right: 0;
}
#tdsm .action-link:hover {
  text-decoration: underline;
}
#tdsm .action-link.view {
  color: #2563eb;
}
#tdsm .hidden {
  display: none;
}
#tdsm .measurementOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* black with 50% opacity */
  z-index: 50; /* high z-index to appear above other content */
  display: none; /* hidden by default */
  display: flex; /* enables flexbox */
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
}
#tdsm .measurement-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
}
#tdsm .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}
#tdsm .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}
#tdsm .modal-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 36rem;
  width: 100%;
}
#tdsm .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}
#tdsm .modal-content {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 36rem;
  width: 100%;
}
#tdsm .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
#tdsm .modal-body {
  overflow: auto;
  max-height: 60vh;
}
#tdsm .modal-actions {
  text-align: right;
  margin-top: 1rem;
}
#tdsm .modal-close-button {
  padding: 0.5rem 1rem;
  background-color: #4a5568;
  color: white;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
}
#tdsm .modal-close-button:hover {
  background-color: #2d3748;
}
#tdsm .custom-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #374151; /* base text color */
}
#tdsm .custom-table thead tr {
  background-color: #f9fafb;
}
#tdsm .custom-table th,
#tdsm .custom-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
#tdsm .custom-table th {
  font-weight: 700;
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
}
#tdsm .bold-cell {
  font-weight: 600;
}
#tdsm .close-btn {
  padding: 8px 16px;
  background-color: #4a4a4a; /* gray */
  color: white;
  border: none;

  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#tdsm .close-btn:hover {
  background-color: #3a3a3a; /* darker gray */
}
.closeTdsm img {
    width: 100%;
}
.closeTdsm {
    padding: 12px !important;
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    right: 5px;
     top: 5px;
     cursor: pointer;
}
/*# sourceMappingURL=m_style.css.map */

.modal-footer{
  display: flex;
  justify-content: center;
  margin-top: 5px;
}
#closeModalBtn{
  margin-top: 20px;
  padding: 6px 40px;
  color: white;
  background-color:var(--client-primary);
  border: none;
  border-radius: 18px;
}
#closeModalBtn:hover{
  background-color: var(--client-primary-hover);
}
#tdsm .edit-icon{
  display: flex;
  align-items: center;
  font-weight: 600;
}
 /* login popup */
#tdsm .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3085d6;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  border: none;
}

/* Popup overlay */
#tdsm .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Login popup box */
#tdsm .login-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  position: relative;
}
div#productSelectData {
    position: absolute;
    z-index: 0;
    top: 2rem;
    left: 2rem;
    background: #004771;
    border-radius: 14px;
    padding: 5px 23px;
    color: #fff;
}
#tdsm .login-form h2 {
  margin-top: 0;
}

.login-form input {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
}

#tdsm .login-form button {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: #3085d6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* Close button */
#tdsm .login-form .close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}
#tdsm .form-tip {
  color: #777;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.swal2-popup {
  width: 20% !important;
  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
}
.swal2-title {
  font-size: 18px !important;
  font-weight: bold !important;
}
.swal2-content {
  font-size: 14px !important;
}
.swal2-confirm,
.swal2-cancel {
  font-size: 14px !important;
  padding: 8px 20px !important;
  min-width: 200px;
  background-color: var(--client-primary);
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{
  background-color: var(--client-primary-hover);
}
@media (max-width: 768px) {
  .swal2-popup {
    width: 80% !important;
  }
}
#tdsm .box-active {
  border: 1px solid black;
  padding: 16px !important;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}


#tdsm .filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 17px;
}
#tdsm .filter-btn {
  background-color: #eee;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
#tdsm .filter-btn:hover,
#tdsm .filter-btn.active {
  background-color: var(--client-primary);
  color: #fff;
}

#tdsm .main-content {
    min-height: 120vh;
    width: 100%;
    background: #F4F7FA;
}
/* Loader overlay covers full screen */
#loaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(136, 135, 135, 0.295); /* Light overlay */
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Stay above everything */
}

/* Loader spinner */
#loaderOverlay .loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #007bff; /* Blue top */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media only screen and (min-width: 992px) {
    .product_nametag {
        position: absolute;
        z-index: 9;
        top: 0;
        left: 20px;
        top: 18px;
    }
}

.swal2-container {
  z-index: 2147483647 !important;
}
.measure-form-wrapper{
    border: 1px solid #a8cce7;
    padding: 20px;
    background-color: #8fbee11f;
    width: 33%;
    display: flex;
    justify-content: center;
}
.measure-form-sections{
  display: flex;
  gap: 30px;
}
.measure-form-sections input{
  border: 1px solid #a8cce7;
  border-radius: 3px;
  padding: 8px;
}
.measure-form-sections select{
  border: 1px solid #a8cce7;
  border-radius: 4px;
  width: 100%;
  padding: 8px;
}
