﻿.pointer {
  cursor: pointer;
}
.custom-input {
  position: relative;
  padding-right: 40px;
  /* Adjust padding to make space for the image */
}
.custom-adornment {
  position: absolute;
  right: 10px;
  /* Position the image on the right side inside the input */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  /* Prevent interaction with the image */
}
.custom-adornment-image {
  width: 20px;
  /* Adjust the size of the image */
  height: 20px;
}
.border-5 {
  border-radius: 5px;
}
/* Ensure the X button aligns to the right */
.mud-dialog-title {
  display: flex;
  justify-content: flex-end;
}
.mud-dialog .mud-dialog-title {
  padding: 0 !important;
}
.mud-dialog-width-md {
  min-width: 50%;
}
/* Custom styling for ensuring centering in the dialog */
.custom-dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  padding: 50px !important;
  min-width: 50% !important;
}
.text-subltle {
  color: #aaa;
}
.addNewCard {
  cursor: pointer;
  font-weight: bold;
}
.mud-message-box {
  padding: 16px;
  /* Adjust the padding value as needed */
}
.mud-dialog-title {
  justify-content: flex-start;
}
.custom-dialog-background-warning {
  background-color: #ffc107;
  /* Replace with your desired color */
}
/* No scroll bars when the mud overlay shows*/
body:has(.mud-overlay.mud-overlay-absolute) {
  overflow: hidden;
}
.qrContainer {
  padding: 10px;
  transform: scale(0.5);
  /* Scale the SVG 1.5 times its original size */
  transform-origin: center;
  /* Ensure scaling happens from the center */
}
/* Custom styles for the terms and conditions dialog content. */
.termsContentContainer {
  display: flex;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  /* CHRIS FIX */
  padding: 10px;
  margin-bottom: 10px;
}
.termsContentContainer a {
  text-decoration: underline !important;
  color: var(--mud-palette-primary);
  font-weight: 500;
}
.monospace-text {
  font-family: 'Courier New', Courier, monospace;
  /* Monospaced font */
}
.bold-text {
  font-weight: bolder !important;
}
.font-smaller {
  font-size: 0.75rem;
  /* Adjust as needed */
}
/* PRODUCT CHECKOUT ITEMS */
.square-container {
  position: relative;
  width: 100%;
  /* Fills the parent MudItem width */
  padding-top: 100%;
  /* Makes the container square using aspect ratio */
  overflow: hidden;
  background-color: #f5f5f5;
  /* Optional for placeholder background */
  /*border-radius: 5px;
    border: 1px solid gray;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);*/
  /* Subtle drop shadow */
}
.image-contain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Maintains aspect ratio */
  display: block;
  cursor: pointer;
}
.fullscreen-image {
  /*max-width: 100vw;*/
  /* Maximum width: full viewport width */
  /*max-height: 100vh;*/
  /* Maximum height: full viewport height */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
/* Center the Close button within the dialog */
.centered-close-button {
  display: flex;
  justify-content: center;
  width: 100%;
  /* Ensures the div takes up full width of DialogActions */
}
.cart-item-container {
  width: 100%;
  background-color: white;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  /* Subtle drop shadow */
}
.cart-item-container td {
  padding: 5px;
}
.container-purchase-items {
  max-height: 50vh;
  overflow-y: auto;
}
#collect-form iframe {
  padding: 0px !important;
  margin: 0px !important;
  height: 56px !important;
  min-height: unset !important;
  max-height: unset !important;
}
.form-field {
  display: block;
  width: 100%;
  height: 56px;
  position: relative;
  color: var(--mud-palette-text-primary);
  cursor: text;
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  color-scheme: var(--mud-native-html-color-scheme);
  line-height: 1.1876em;
  font-size: var(--mud-typography-subtitle1-size);
  font-family: var(--mud-typography-subtitle1-family);
  font-weight: var(--mud-typography-subtitle1-weight);
  line-height: var(--mud-typography-subtitle1-lineheight);
  letter-spacing: var(--mud-typography-subtitle1-letterspacing);
  text-transform: var(--mud-typography-subtitle1-text-transform);
  border-radius: var(--mud-default-borderradius);
  border-color: var(--mud-palette-lines-inputs);
  border-width: 1px;
  border-style: solid;
  padding: 0.375rem 0.75rem;
}
.form-field:hover {
  border-width: 2px!important;
  border-color: var(--mud-palette-primary) !important;
}