body {
  font-family: Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
}

.hideElement {
  display: none !important;
}

#cards-wrapper {
  overflow: hidden;
  width: 400px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#preview-ctn {
  position: relative;
  padding: 0.25rem;
  background-color: white;
  text-align: left;
  font-family: Roboto, Arial, sans-serif;
  box-shadow: 1px 3px 10px #b2b2b2;
  width: 400px;
}

#preview-ctn th {
  font-size: 1.2rem;
  padding: 0.25rem 0;
  text-align: center;
  color: rgb(227, 238, 253); /* Or other color value, prefer semantic colors */
}

#preview-ctn td {
    padding: 0;
    box-sizing: border-box;
}

#cards-carousel {
  display: flex;
  margin-left: 60px;
}

#cards-carousel a {
  text-decoration: none;
}

.cardLayout {
  margin-top: 5px;
  border-radius: 10px;
  border: 1px solid #dadce0;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  text-decoration: none;
}

.squareCardLayout {
  width: 128px;
}

.portraitCardLayout {
  width: 128px;
}

.landscapeCardLayout {
  width: 264px;
}

.cardContent {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-content: space-between;
  margin: 8px;
}

.cardImageWrapper {
  border-radius: 10px 10px 0 0;
  position: relative;
}

.singleCardImageWrapper {
  background: #e1e3e1;
  display: flex;
  justify-content: center;
}

.squareCardImageWrapper {
  height: 128px;
}

.portraitCardImageWrapper {
  height: 160px;
}

.landscapeCardImageWrapper {
  height: 138px;
}

.cardImage{
  height: 100%;
}

.multiCardImage {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
}

.imageOnly {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.cardHeadline {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #202124;
  height: 20px;
  max-width: 220px;

  /* Ellipsis for one-line headline. */
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Ellipsis for two-lines headline. */
@supports (-webkit-line-clamp: 2) {
  .cardHeadlineDoubleLine {
    height: 40px;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.cardFooter {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
  overflow: hidden;
}

.cardFooterOnImage {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
  position: absolute;
  bottom: 6px;
  left: 6px;
  background-color: #202124;
  opacity: 0.78;
  padding: 0 4px;
  border-radius: 4px;
  overflow: hidden;
  max-width: 108px; /* 108px = 128px {parent portraitCardLayout div width} - 2 * (4px {padding} + 6px {side offset}) */
}

.fromLabel {
  font-size: 12px;
  line-height: 20px;
  color: #202124;
  margin-right: 4px;
}

.cardPrice {
  font-weight: bold;
  font-size: 12px;
  line-height: 20px;
  color: #202124;
}

.priceDarkBackground {
  color: #fff;
}

.cardCrossedPrice {
  text-decoration-line: line-through;
  color: #5f6368;
  margin-left: 5px;
  font-weight: lighter;
  font-size: 12px;
  line-height: 20px;
}

.crossedPriceDarkBackground {
  color: #bdc1c6;
}

.errorCtn {
  margin-top: 10px;
  font-size: 12px;
  color: #f00;
  overflow-y: auto;
  overflow-wrap: anywhere;
  height: 30vh;
  padding: 10px;
  text-align: start;
}

.errorList {
  margin-top: 5px;
}

#messages-ctn {
  margin: 20px;
  display: flex;
  flex-direction: column;
}

.messageCtn {
  font-size: 12px;
  text-align: start;
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
}

.messageWarningCtn {
  background-color: #fff4e5;
}

.messageErrorCtn {
  background-color: #fdeded;
}

.messageInfoCtn {
  background-color: #d9f2fe;
}

.messageHeader {
  font-weight: bold;
  display: flex;
  align-items: center;
}

.messageWarningHeader {
  font-size: 14px;
  color: #ed6c02;
}

.messageErrorHeader {
  font-size: 14px;
  color: #d74544;
}

.messageInfoHeader {
  font-size: 14px;
  color: #131212;
}

.messageTitle {
  margin-top: 20px;
}

.messageWarningTitle {
  color: #663c00;
}

.messageErrorTitle {
  color: #5f2120;
}

.imgList {
  margin: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.imgThumbnail {
  max-width: 191px;
  max-height: 100px;
  border-radius: 10px;
  margin-right: 20px;
}

.imgUrlList {
  overflow-wrap: anywhere;
}

.helpMessage {
  margin-top: 1.5em;
  font-family: 'Google Sans', sans-serif;
  color: #333;
  align-items: center;
  margin: 0 0 0 0;
}

.helpMessage img {
  vertical-align: middle;
  padding-right: 5px;
  margin-bottom: 0.4em;
}

.helpMessage strong {
  font-weight: 600;
  font-size: 1.1em;
  color: #222;
}

.helpMessage ul {
  list-style-type: disc;
  margin: 0.2em 0 0 0;
}

.helpMessage li {
  margin-bottom: 0.5em;
}

.helpMessage .requiredField {
  font-weight: 600;
  color: #d93025;
}

.helpMessage .field {
  font-weight: 600;
  color:rgb(36, 134, 186);
}

.helpMessage .rejectReason {
  color:rgb(10, 10, 10);
}

.helpMessage .field {
  font-weight: 600;
  color:rgb(10, 10, 10);
}

.email-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color:rgb(218, 221, 225);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.coupon-card {
    --bg-color: #fff;
    --text-color: #1a1a1a;
    --light-text: #666;
    --dark-text:hsl(0, 0.00%, 0.00%);
    --button-bg: #d3e5ff;
    --button-hover: #b8d2f5;
    --border-radius: 1rem;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    width: 400px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.header .brand {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  text-align: left;
  font-family: 'Google Sans Text', sans-serif;
  letter-spacing: 0.1px;
  color: var(--dark-text);
}

.header .title {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
    font-family: 'Google Sans', sans-serif;
    margin: 0.5rem 0 0;
    margin-bottom: 1rem;
}

.details {
    display: flex;
    margin-bottom: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    font-family: 'Google Sans', sans-serif;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex: 0 0 50%;
}

.detail-item
.label,
.code-section
.label {
    font-size: 0.8rem;
    font-family: 'Google Sans', sans-serif;
    color: var(--dark-text);
    text-align: left;
    font-weight: 500;
    margin: 0;
}

.detail-item
.value,
.code-section
.value {
    font-size: 0.8rem;
    font-family: 'Google Sans', sans-serif;
    color: var(--light-text);
    font-weight: 500;
    text-align: left;
    margin: 0;
}

.code-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.rounded-rectangle {
  background-color: RGB(176, 219, 243);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.8rem;
  color: black;
  margin-right: 0.5rem;
  display: inline-block;
}

.container {
  display: flex;
  gap: 20px;
}

.component {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.component h2 {
  text-align: center;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
}

.warning-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px; /* Add some space between the icon and text */
}