#sect-measurement {
  font-family: "Josefin Sans";
}

/* p,
label {
  font-size: 1.4rem;
} */

/* Base style for the select box */

.default-url {
  cursor: pointer;
}

.checkbox-container {
  display: flex; /* Flexbox for alignment */
  align-items: center; /* Center items vertically */
  cursor: pointer; /* Pointer cursor on hover */
  margin-top: 5px;
}

.checkbox-label {
  width: 6rem;
  font-size: 16px;
  color: #c63093;
}

.custom-checkbox {
  height: 16px;
  width: 16px;
  accent-color: #c63093;
}

.size-select-component label {
  margin-bottom: 0.5rem;
}

#profile-title {
  height: 3rem;
  font-size: 20px;
  padding: 14px;
  border: unset;
  /* background-color: #f7f9fa; */
  outline: unset;
}

#profile-title:focus-visible {
  border: unset;
}

#size-select {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-block: 2rem;
}

#size-select div {
  width: 33%;
}

#div-button {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

#div-button input[type="button"] {
  width: 100%;
  font-size: 16px;
  border-radius: 3rem !important;
  font-weight: 600;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  #div-button input[type="button"] {
    font-size: 1.3rem;
  }
}

.checkbox-container {
  display: flex;
  gap: 1rem;
}

.table-title {
  margin-bottom: 20px !important;
  padding: 10px 10px 5px 10px;
  color: var(--typography-section-titles-color, #000);
  text-align: center;
}

.my-perfect-table-title {
  color: var(--typography-section-titles-color, #000);
  font-size: 1.4rem !important;
}

.size-table {
  font-size: 16px !important;
  font-weight: 600;
}

.size-table td,
.size-table th {
  border: unset;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.size-table td {
  text-align: center;
}

.table-action-button button {
  border: unset;
  border-radius: 16px;
  padding: 4px 12px;
}

#update {
  width: 33% !important;
}

#update:hover {
  background-color: #414141;
  border: 1px solid #414141;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* The modal box */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%; /* Responsive width */
  max-width: 500px; /* Will not exceed this width */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  height: fit-content;
}

/* Close button */
.modal-close {
  float: right;
  font-size: 20px;
  cursor: pointer;
  background-color: white !important;
  border: #c63093 1px solid !important;
  color: #c63093 !important;
}

.modal-close:hover {
  color: white !important;
  background-color: rgb(94, 94, 94) !important;
}

/* Modal form styles */
.modal-form label {
  display: block;
  margin: 10px 0 5px;
}

.modal-form input[type="text"] {
  width: 100%;
  /* padding: 16px; */
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5rem;
  font-size: 18px;
}

.modal-form button {
  display: inline-block;
  background-color: #c63093;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-form button:hover {
  background-color: #414141;
}

.modal-title {
  text-align: center;
}

#modal-button-sect {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
}

/* Make the modal responsive */
@media (max-width: 500px) {
  .modal-content {
    width: 100%; /* Full width on smaller screens */
    margin: 0 10px; /* Small margin on the sides */
  }
}

.center {
  text-align: center;
}

.border-right {
  border-right: 2px solid #69727d !important;
}

.border-bottom {
  border-bottom: 2px solid #69727d !important;
}

.mpf-acc-edit-loader {
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-bottom-color: #c63093;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

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

.mpf-acc-edit-loading-wrap {
  justify-content: center;
  align-items: center;
  height: 100%;
}

.btn-save {
  display: inline-block;
  font-weight: 400;
  color: #c36;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid #c36;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
}

.btn-save:hover {
  background-color: #626880 !important;
  border: 1px solid #626880;
}

.btn-save:disabled {
  background-color: #626880 !important;
  border: 1px solid #626880;
}

.show {
  display: block;
}

.hide {
  display: none;
}

.label-font-black-bold-16 {
  color: black;
  font-weight: 600;
  font-size: 16px;
}

.default-text-field {
  color: black;
  background-color: #fdf8dc;
  border: 1px solid #c63093 !important;
  outline: none;
}

.default-text-field::placeholder {
  color: #7d7676;
}

.default-text-field:focus-visible {
  /* border: 2px solid #c63093 !important; */
  outline: none;
}

.modal-form .custom-select {
  width: 244px;
}

#modal-edit-size-select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*Video Modal*/
.video-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999998; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */

  /* Initial states for transition */
  background-color: rgba(0, 0, 0, 0); /* Start with 0 opacity background */
  opacity: 0;
  transition: opacity 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Smooth transition */

  justify-content: center; /* Center horizontally (flex property) */
  align-items: center; /* Center vertically (flex property) */
}

/* State 1: Makes the modal visible (display: flex), ready to fade in */
.video-modal.visible {
  display: flex;
  height: 100% !important;
}

/* State 2: Makes the modal fully visible (opacity: 1) and darkens the background */
.video-modal.active {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
}

/* 2. Modal Content/Box */
.video-modal-content {
  background-color: #fefefe;
  padding: 40px 20px 20px 20px;
  border-radius: 8px;

  /* Responsive adjustments: */
  width: 90%; /* Always take up 90% of the screen width */
  max-width: 900px; /* But never grow wider than 600px (desktop limit) */
  min-width: 280px; /* Ensure it doesn't shrink too small on tiny devices */

  position: relative; /* Needed for positioning the close button */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-sizing: border-box;
  /* Optional: Add a subtle transition to the content box too */
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
}

.video-modal.active .modal-content {
  transform: scale(1);
}

/* Responsive video container for maintaining aspect ratio (e.g., 16:9) */
.video-container {
  position: relative;
  /* This 56.25% ensures a 16:9 ratio (9 / 16 = 0.5625) */
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
}

.custom-select:has(option[disabled]:checked) {
  color: gray;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 3. The Close Button */
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 5px; /* Adjusted position */
  right: 15px;
  cursor: pointer;
  z-index: 11; /* Ensure it's above the video */
  background: #fff;
  padding: 0 8px;
  border-radius: 50%;
  line-height: 1;
  transition: color 0.2s;
}

.close:hover,
.close:focus {
  color: #dc2626; /* Change color on hover for better UX */
  text-decoration: none;
  cursor: pointer;
}
