/* v2025.11.27 */

.alert {
  position: fixed;
  width: 100%;
  background: lightyellow;
  text-align: center;
  border: 1px solid black;
}

/* Product */
.prodImg {
  object-fit: scale-down;
  margin: 10px;
  width: 96%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prod {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.strip {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: left;
}

.prod div {
  position: relative;
  cursor: pointer;
  min-width: 100px;
  min-height: 100px;
  max-width: 200px;
  max-height: 200px;
  padding: 8px;
}

.prod .selected {
  border: 2px solid var(--accent);
}

@media only screen and (min-width: 71.189em) and (max-width: 92.25em) {
  .prod div {
    padding: 0;
    margin: 0;
    padding-top: 3px !important;
  }
}

.btool {
  position: absolute;
  text-align: left;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cbtn {
  font-size: 0.875rem;
  width: 36px;
  height: 39px;
  padding-left: 4px;
}

.cbtns {
  display: flex;
  align-items: center;
  gap: 2px;
}

.prod img {
  /* display: block; */
  object-fit: scale-down;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-position: 50% 50%;
}

.prod .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  width: 100px;
  opacity: 0;
  transition: 0.5s ease;
  background-color: var(--hover-clr);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Target overlays for images if not loaded 
.prod img[naturalHeight="0"] + .overlay { 
  opacity: 0.8; 
}

*/
.hide {
  /*visibility: hidden !important;*/
  display: none !important;
}

/*
.prod img:not(:valid)+.overlay {
  opacity: 0.8;
}*/

.prod div:hover .overlay {
  opacity: 0.8;
}

.prod .txt {
  color: var(--primary-clr);
  /* font-size: calc(1em + 1vw); */
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0;
  /* Allows for line breaks in the text 
  white-space: pre-wrap;
  */
}

.page {
  align-content: center;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2rem;
}

.imgs {
  object-fit: contain !important;
  width: calc(33.33% - 20px);
  height: 500px;
}

.image-container img {
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
}

.imgp {
  width: 66.66%;
  max-height: 500px;
}

@media (max-width: 1300px) {
  .imgp,
  .imgs {
    width: 100%;
  }
}

.lightText {
  font-size: smaller;
  font-weight: lighter;
  color: #666;
}

.darkText {
  color: #000;
  font-weight: darker;
}

.score {
  display: inline-block;
  padding: 2px 6px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  border: 1px solid #000;
  border-radius: 50%;
  color: #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score[data-score] {
  --score-percent: calc(var(--score) * 100 / 10);
  background-color: hsl(calc(120 * var(--score) / 10), 100%, 50%);
}

.legend {
  display: none;
  position: absolute;
  left: -10px;
  top: -76px;
  width: 135px;
  background: linear-gradient(to bottom, #ffffcc 0%, #90ee90 100%);
  grid-template-columns: 1fr 2fr;
  padding: 2px;
  box-sizing: border-box;
  color: black;
  font-size: 1em;
  z-index: 1;
  border: 1px solid #000;
  cursor: default;
}

.score:hover .legend,
.score:active .legend {
  display: grid;
}

@media (hover: none) {
  .score:active .legend {
    display: grid;
  }
}
/*
.page img {
  object-fit: contain;
  min-width: 100px;
  max-width: 250px;
  max-height: 50vh;
  width: 50%;
  height: auto;
  cursor: pointer;
}*/

.page table {
  width: 100%;
  /* Or a specific width */
  border-collapse: collapse;
  /* Prevents double borders */
}

/*
th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}*/

th {
  background-color: #f2f2f2;
  /* Light grey background for headers */
}

/* Side Panel Styles */
.side-panel {
  position: fixed;
  top: 50px;
  right: -390px;
  width: 390px;
  height: calc(100% - 50px);
  background-color: rgba(0, 0, 0, 0.15);
  box-shadow: -10px 0 10px rgba(194, 154, 111, 0.3);
  backdrop-filter: blur(12px);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.side-panel-close {
  position: absolute;
  right: 0.1rem;
  font-size: 1.15rem;
  z-index: 1001;
}

.svgclose {
  fill: #666;
  margin: 0.5rem;
  cursor: pointer;
}

.side-panel.open {
  right: 0;
}

/* 
.side-panel-content {
  padding: 20px;
}

*/

.panel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  height: 100%;
}

.panel-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

.panel {
  flex: 0 0 100%;
  scroll-snap-align: start;
  backdrop-filter: blur(12px);
  margin-bottom: 32px;

  .title {
    flex: none;
    text-align: center;
    font-size: 1.25rem;
    margin-top: 6px;
    font-weight: bolder;
  }

  .content {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    height: 100%;
    /* min-height: 0; */
  }
}

.fav {
  overflow: auto;
  padding: 2px;
}

.panel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.panel-dot.active {
  background: #666;
}

/* Login Popup Styles */
.modalDialog {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.topmost {
  z-index: 1001;
}

.loginModalContent {
  z-index: 1002;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #fefefe; */
  background-color: var(--bkgrd-clr);
  /* margin: 5% auto; */
  padding: 0;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(194, 154, 111, 0.1);
  border-radius: 8px;
  border: 0;
  margin-top: auto;
  margin-bottom: auto;
}

.loginModalHeader {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  /* background-color: #f8f9fa; */
  border-radius: 4px 4px 0 0;
}

.loginModalHeader h2 {
  margin: 0;
  font-size: 1.25rem;
}

.loginModalBody {
  padding: 15px;
}

.loginModalBody iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.loginModalClose {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.loginModalClose:hover {
  color: #666;
}

#notification {
  display: none;
  position: fixed;
  top: 0px;
  left: 50%;
  height: 20px;
  transform: translateX(-50%);
  background-color: var(--succ);
  /* Green */
  color: var(--succ-txt);
  padding: 15px;
  border-radius: 5px;
  z-index: 1002;
  /* Ensure it's on top */
  opacity: 0;
  /* Initially hidden */
  transition: opacity 0.5s ease-in-out;
  /* Smooth transition */
}

#notification.show {
  display: block;
  opacity: 1;
}

/*Receipt Style*/
.receipt-card {
  border: 1px dashed #ccc;
  font-family: sans-serif;
  /* Mimic receipt printer font 
  padding: 10px;*/
  margin: 20px auto;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

.receipt-header {
  text-align: center;
  margin-bottom: 10px;
}

.receipt-details {
  margin-bottom: 15px;
}

/* Styling for the new quantity stepper */
.quantity-stepper {
  display: inline-flex;
  /* Use inline-flex to keep it in the text flow */
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  /* Hide overflow for rounded corners */
  margin-right: 5px;
  /* Space between stepper and price */
}

.quantity-stepper button {
  background-color: #f8f8f8;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1em;
  line-height: 1;
  /* Prevent extra space */
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-stepper button:hover {
  background-color: #e8e8e8;
}

.quantity-stepper button:active {
  background: #d0d0d0;
  transform: scale(0.95);
}

.quantity-stepper button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quantity-stepper .quantity-input {
  padding: 5px;
  width: 2em;
  text-align: center;
  border: none;
}

/* Remove spinner buttons for Chrome, Safari, Edge */
.quantity-stepper .quantity-input::-webkit-outer-spin-button,
.quantity-stepper .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-stepper .quantity-input:focus {
  outline: none;
  background: #f0f7ff;
}

.item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

/*
.total {
  border-top: 1px dashed #ccc;
  padding-top: 10px;
  text-align: right;
}
*/

.footer {
  text-align: center;
  font-size: smaller;
  margin-top: 10px;
}

.toggle-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  /* Make it look clickable */
}

.toggle-container i {
  margin: 0 5px;
  /* Space between icons */
  font-size: 1.2em;
  /* Increase icon size */
}

@media screen and (max-width: 768px) {
  .side-panel {
    top: 0px;
  }

  .side-panel.open {
    right: 0;
    /* width: 90vw; */
  }

  #notification {
    top: auto;
    bottom: 0;
  }
}

/* Card Styles */

.prodcard {
  display: flex;
  flex-wrap: nowrap;
  /* justify-content: center; */
  overflow-x: auto;
}

.prodpre {
  white-space: pre-wrap; /* preserve whitespace but allow wrapping */
}

.product-card {
  /* Use flexbox for easy layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  /* Adjust card width as needed */
  width: 250px;
  /* Add a subtle shadow */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.product-card:hover {
  transform: rotateY(20deg);
}

.product-title {
  margin-bottom: 10px;
}

.product-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 15px;
}

.product-price {
  color: #333;
}

/* Styling for action buttons */
.product-actions {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.action-button {
  margin: 0 5px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 3px;
  border: none;
}

.favorite-button {
  background-color: #f0f;
  color: #333;
}

.cart-tool {
  display: flex;
  align-items: center;
  border: 1px solid #9ca3af;
  float: right;
  height: 36px;
  border-radius: 25px;
}

.cart-name {
  color: #9ca3af;
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 10px;
}

.cart-btn {
  float: right;
  display: none;
  margin-left: 8px;
  display: flex;
  align-items: center;
  height: 100%;
}

.cart-button {
  background-color: #333;
  color: #fff;
}

/* Favorite */
.fav-card {
  display: flex;
  padding: 6px;
  border-radius: 5px;
  margin-bottom: 10px;
  background-color: whitesmoke;
  font-size: 0.9em;
}

.fav-img {
  object-fit: scale-down;
  width: 80px;
  height: 80px;
  background-color: #ccc;
  /* Placeholder color 
  border: 1px solid #ddd;
  */
  margin-right: 15px;
  text-align: center;
  line-height: 80px;
}

.fav-info {
  flex-grow: 1;
}

.fav-title {
  font-size: 1rem;
  font-weight: bold;
}

.fav-code {
  font-size: 1.5rem;
  color: #666;
}

.fav-price {
  /*
  margin-left: auto;
   Push price to the right */
}

.fav-tools {
  display: flex;
  flex-direction: column;
  color: var(--primary-clr);
  font-size: 1.5rem;
  /* margin: 8px; */
}

.action-button {
  margin-left: 5px;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.remove-favorite {
  color: #f0f;
}

.add-to-cart {
  color: #fff;
  background-color: #333;
}

/* Cart */
#cart {
  .card {
    display: flex;
    flex-direction: column;
    padding: 6px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: whitesmoke;
    /* font-size: 0.9em; */

    img {
      object-fit: scale-down;
      width: 80px;
      height: 80px;
      background-color: #ccc;
      /* Placeholder color */
      margin-right: 10px;
      text-align: center;
    }
  }
}

.cr0 {
  display: flex;
}

.cart-card {
  display: flex;
  align-items: center;
}

.cart-img {
  object-fit: scale-down;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  aspect-ratio: 1 / 1;
}

.cart-info {
  flex-grow: 1;
}

.cart-code {
  font-size: 1.2rem;
  color: #666;
}

.cart-price {
  /* 
  margin-left: auto;
  Push price to the right */
  font-weight: bold;
}

.cart-tools {
  color: var(--primary-clr);
  font-size: 1rem;
  /* margin: 8px; */
}

.btnmu {
  margin-left: auto;
  font-size: 0.875rem;
  width: 32px;
}

/* Cart Name Save Button */
.save-button {
  color: Green;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.save-button.oscillate {
  animation: oscillate 0.5s ease-in-out infinite alternate;
  animation-iteration-count: 10; /* 5 seconds total (10 iterations * 0.5s) */
}

@keyframes oscillate {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Form */
.form-container {
  padding: 6px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  color: #444;
  font-weight: 500;
}

.form-control {
  /* width: calc(100% - 16px); */
  padding: 6px 2px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

/* Readonly field style */
.form-control[readonly] {
  background-color: rgba(239, 239, 239, 0.3);
  border-color: #ddd;
  color: var(--primary-clr);
}

/* Required field style */
.form-control[required] {
  border-left: 3px solid #e74c3c;
}

.form-control[required]:valid {
  border-left: 3px solid #27ae60;
}

/* Mark required fields with an asterisk */
.form-group label[for^="required"]::after,
.form-control[required] + label::after {
  content: " *";
  color: #e74c3c;
}

.form-tools {
  text-align: right;
}

/*
.range-inputs {
  display: grid;
  grid-template-columns: 1fr; 
  grid-gap: 4px; 
}*/
.range-inputs input {
  width: calc(40% - 12px);
}

.range-inputs span {
  color: #666;
  font-size: 1rem;
  display: inline-block;
  /* To allow margin */
  margin-left: 4px;
  /* Adjust as needed */
}

/* First input on the first line 
.range-inputs > input:first-child {
  grid-column: 1;
}
*/
input::placeholder {
  color: #aaa;
}

/* Image Viewer */

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.viewer-show {
  display: block;
}

.viewer-tbar {
  flex: none;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.close-button {
  flex: none;
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  cursor: pointer;
  font-size: 2.5em;
}

.image-large {
  flex: auto;
  /* display: block; 
  max-width: 90%;*/
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  width: 100%;
}

.image-scroller {
  flex: none;
  display: flex;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  justify-content: center;
  margin-top: 10px;
}

.image-scroller img {
  margin: 0 5px;
  height: 100px;
  border-radius: 4px;
  cursor: pointer;
}

/* Login */
/* Dialog Styles (Keep existing, ensure they work with theme) */
#login-dialog {
  margin: 5vh auto; /* Align near top, horizontally centered */
  border-radius: 0.5rem;
  padding: 0;
  /* Remove default dialog padding */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* shadow-xl */
  max-width: 90%;
  /* Prevent dialog from being too wide on small screens 
  background-color: var(--bg-card);
  */
  /* Ensure dialog background matches theme */

  main {
    padding: 3rem;
    display: flex;
    flex-direction: column;
  }

  ::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
  }
}

/* Form Elements (Keep existing styles) */
.form-group {
  margin-bottom: 0.5rem;
}

.form-group-last {
  margin-bottom: 1.5rem;
}

.form-input {
  display: block;

  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background-color: white; /*var(--bg-card); */
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.hideSpinner::-webkit-outer-spin-button,
.hideSpinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-input::placeholder {
  color: var(--text-placeholder);
  transition: color 0.3s ease;
}

/*
.form-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 2px var(--focus-ring);
}*/

/* Login Button inside Dialog (Keep existing styles) */
.login-button {
  font-weight: 700;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.login-button:hover {
  /* background-color: var(--button-bg-hover); */
}

.login-button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--button-bg), 0 0 0 4px var(--bg-card);
}

/* Message Box (Keep existing styles) */
#message-box {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.message-error {
  color: var(--message-error);
}

.message-success {
  color: var(--message-success);
}

/*
@media only screen and (min-width: 71.189em) and (max-width: 92.25em) {
  .pcard {
    flex-direction: column;
  }
}*/

#rpt-dialog {
  margin: 1rem auto; /* Align near top, horizontally centered */
  height: auto;
  width: auto;
  border-radius: 0.5rem;
  padding: 0;
  /* Remove default dialog padding */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* shadow-xl */
  max-width: 90%;

  main {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;

    header {
      height: 30px;
      flex: none;

      button {
        position: absolute;
        right: 0;
        background-color: transparent;
        transition: background-color 0.3s ease;
        cursor: pointer;
        border: 0;
        /* */
        &:hover {
          background-color: rgba(0, 0, 0, 0.5);
        }
      }
    }

    iframe {
      /* flex: 1 1 auto; */
      width: 100%;
      height: 100%;
      border: none;
    }
  }
}

/* Container card */
/* Parent container for all cards */
.pcard-container {
  display: flex;
  flex-wrap: wrap; /* allow wrapping to next line */
  justify-content: flex-start; /* align cards to the left */
  gap: 16px; /* spacing between cards */
  margin: 0 auto;
  max-width: 1200px; /* optional: constrain overall width */
  padding: 16px;
  box-sizing: border-box;
  overflow: auto;
}

/* Default: desktop/tablet (row layout) */
.pcard {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-height: 200px;
  max-width: 500px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin: 16px;
  background-color: #fff;
}

/* Body (text) */
.pcard-body {
  flex: 2;
  padding: 16px;
}

/* Image */
.pcard-image {
  max-width: 180px;
  overflow: hidden;
}
.pcard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pcard-body h3 {
  margin: 0 0 8px;
  font-size: 1.2em;
  color: #333;
}

.pcard-body p {
  margin: 4px 0;
  font-size: 0.95em;
  color: #555;
}

/* Links */
.pcard-body a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}

.pcard-body a:hover {
  text-decoration: underline;
}

/* ✅ Mobile breakpoint: stack vertically */
@media (max-width: 500px) {
  .pcard {
    flex-direction: column; /* stack text and image */
    max-height: unset;
  }

  .pcard-image {
    max-width: 100%; /* let image span full width */
    height: auto;
  }

  .pcard-image img {
    width: 100%;
    height: auto;
  }
}

/* Utility class */
.hidden {
  display: none;
}

.toggle-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.toggle-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toggle-container i {
  margin: 0 10px;
  font-size: 1.5em;
  transition: all 0.3s ease;
}

.toggle-container i.fa-sun {
  color: #f1c40f;
}

.toggle-container i.fa-moon {
  color: #34495e;
}

/* Account Table */
#acctTab {
  width: 100%;
  margin: 15px 0;
  border-collapse: collapse;
  background-color: transparent;
}

#acctTab td {
  border: none;
  padding: 8px 15px;
  vertical-align: middle;
}

#acctTab td:first-child {
  width: 40%;
  color: var(--primary-clr); /* Use theme color for better contrast */
  font-weight: 500; /* Make labels slightly bolder */
}

#acctTab td:last-child {
  width: 60%;
  color: var(--secondary-clr); /* Use theme color for values */
}

.step-details label {
  display: block;
  cursor: pointer;
}

/* Input Styling */
.step-details input[type="text"],
.step-details input[type="password"],
.step-details input[type="email"] {
  display: block;
  /*width: calc(100% - 12px);  Account for padding
  margin-bottom: 10px;
   */
  padding: 5px;
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  font-size: 0.9em;
}

.step-details input[type="checkbox"] {
  margin-right: 5px;
  vertical-align: middle;
}

.form-submit-btn {
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 16px;
  font-size: 1.2em; /* 12px converted to em */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
  background-color: #2a70c2;
}

.form-submit-btn:active {
  background-color: #1e5a9e;
}

/* steps table */

.form-table {
  width: 100%;
  border-collapse: collapse;
}

/*.form-table td {
  padding: 8px;
  vertical-align: top;
}*/

.readonly {
  border: none;
  background-color: #f9f9f9;
}

.aPwd1 {
  display: table-row;
}

.aPwd2 {
  display: none;
}

.actBck {
  background-color: #ffffff66;
  border-radius: 5%;
}

/* Cart List Expand/Collapse */
.cart-list-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fff;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.cart-list-title-row {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  background: #f7f7f7;
}
.cart-list-title-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
}
.cart-list-title-input[readonly] {
  color: #888;
}
.cart-list-edit-btn,
.cart-list-save-btn,
.cart-list-delete-btn,
.cart-list-expand-btn {
  margin-left: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 1em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.cart-list-edit-btn:hover,
.cart-list-save-btn:hover,
.cart-list-delete-btn:hover,
.cart-list-expand-btn:hover {
  opacity: 1;
}
.cart-list-status-row {
  padding: 0 12px 8px 12px;
  font-size: 0.95em;
  color: #666;
}
.cart-list-details {
  padding: 12px;
  border-top: 1px solid #eee;
  background: #fafafa;
  display: none;
}
.cart-list-item.expanded .cart-list-details {
  display: block;
}
.cart-list-item.expanded {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.cart-list-item .cart-list-expand-btn i {
  transition: transform 0.2s;
}
.cart-list-item.expanded .cart-list-expand-btn i {
  transform: rotate(180deg);
}
