.skin-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.skin-options input[type="checkbox"],
.skin-options input[type="radio"] {
  display: none;
}

.skin-options label {
  display: flex;
  width: 90%;
  max-width: 500px;
  min-height: 15px;
  background-color: #f9f9f9;
  border: 1px solid #4D98D8;
  border-radius: 13px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #4D99D9;
  font-weight: 400;
  align-items: center;
  justify-content: center;
}

/* Phone */
.skin-options label p {
  font-size: 10px; /* or 12px if you prefer */
  margin: 0 0 3px 0;
  font-weight: 500;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  .skin-options label p {
    font-size: 13px;
  }
}

.skin-options label:hover {
  background-color: #e6f0ff;
  border-color: #4D98D8;
}

.skin-options input[type="checkbox"]:checked + label,
.skin-options input[type="radio"]:checked + label {
  background-color: #4D99D9;
  color: #fff; 
  border-color: #4D99D9;
}

.questionnaire-query {
  font-size: 14px;
  text-align: center;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.questionnaire-item > label {
  display: block;
  text-align: center;
  margin: 0 0 15px 0;
}

.questionnaire-item > label p {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
}

.skin-options label small {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  font-weight: 400;
  color: #333;
}

.questionnaire-query {
  font-size: 28px;
  text-align: center;
}

.questionnaire-query + label {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

#question_1 {
  max-height: 80vh;
  overflow-y: auto;
}

#question_5 {
  max-height: 80vh;
  overflow-y: auto;
}

/* Phone (default) */
.questionnaire-item > label > p {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}

/* Tablets & desktop */
@media (min-width: 768px) {
  .questionnaire-item > label > p {
    font-size: 16px;
  }
}

/* Default for desktop/tablet */
.questionnaire-query {
    font-size: 28px;   /* large size for bigger screens */
    text-align: center;
    line-height: 1.4;
}

/* For tablets (optional, slightly smaller) */
@media (max-width: 1024px) {
    .questionnaire-query {
        font-size: 24px;
    }
}

/* For phones / small screens */
@media (max-width: 768px) {
    .questionnaire-query {
        font-size: 18px;   /* smaller on phone */
    }
}

/* Keep your existing bar layout */
.status-skin-character .status-detail-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-skin-character .status-label-left,
.status-skin-character .status-label-right {
  width: 120px; /* fixed width to keep bars aligned */
  text-align: center;
  font-weight: 500;
  font-size: 14px; /* desktop font size */
}

.status-skin-character .status-bar {
  /* flex: 1; */
  height: 1.5rem;
  background: #ffffff;
  border-radius: 3px;
  overflow: hidden;
}

.status-skin-character .status-fill {
  height: 100%;
  background: #4D98D8;
  border-radius: 3px;
}

/* Make text smaller on smaller screens */
@media screen and (max-width: 480px) {
  .status-skin-character .status-label-left,
  .status-skin-character .status-label-right {
    font-size: 12px; /* smaller font, still fixed width */
  }
}

.skin-char-small {
  font-size: 100%;        /* 60% of normal size */
  font-weight: 500;      /* optional: slightly bold */
  margin-bottom: -1.5rem; /* small spacing before SKIN CODE [4] */
}

.skin-analysis-text {
  font-size: 100%;        /* 60% of normal size */
  font-weight: 500;      /* optional: slightly bold */
  color: #4D98D8;
  text-align: center;
  margin-bottom: 40px;
}

.lifestyle-plan-table {
    width: 90%;
    border-collapse: collapse;
    color: #4D98D8; /* text color */
    margin-bottom: 10px; /* space between mini-tables */
    margin: 0 auto;
    margin-bottom: 30px;
}

.lifestyle-plan-table td {
    padding: 16px 12px;
    border: 2.5px solid #4D98D8; /* table border */
    font-size: 16px;
    text-align: center; /* center text */
}

.lifestyle-plan-table tr:first-child td {
    font-weight: bold; /* label row bold */
    padding: 11px 15px;
    font-size: 15px;
}

.lifestyle-plan-table tr:hover {
    background-color: #e6f0fa; /* optional hover effect */
}

.derma-grid {
  display: flex;
  flex-direction: column;
  gap: 20px; /* space between rows */
  width: 90%;
  margin: 0 auto;
}

/* Normal rows: Profiles 1,2,3,6,7 */
.derma-row {
  display: flex;
  gap: 20px; /* space between cells */
}

.derma-cell {
  flex: 1;
  border: 2px solid #4D98D8; /* full border around cell */
  display: flex;
  flex-direction: column;
  text-align: center;
}

.derma-image {
  border-bottom: 2px solid #4D98D8; /* line between image and text */
  padding: 5px;
}

.derma-image img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

.derma-text {
  padding: 15px;
  font-size: 16px;
  color: #4D98D8;
}

/* Merged row for Profiles 4 & 5 */
.derma-row-merged {
  display: flex;
  flex-direction: column;
  /* gap: 5px; */ /* space between image row and text row */
  border: 2px solid #4D98D8; /* outer border for merged container */
}

.derma-merged {
  display: flex;
  gap: 0px; /* space between merged cells */
  flex: 1;
}

.derma-merged .derma-cell {
  flex: 1;
  border: 2px solid #4D98D8; /* inner border for each cell */
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Images row inside merged cell */
.derma-images-row {
  display: flex;          /* side by side */
  /* border: 2px solid #4D98D8; */
  /* min-width: 50%; */
  /* max-width: 50%; */
  flex-direction: column;
  flex: 1;
}

.derma-images-row .derma-image {
  flex: 1;
  text-align: center;
  padding: 5px;
}

/* Texts row inside merged cell */
.derma-texts-row {
  display: flex;          /* side by side */
  width: 50%;
}

.derma-texts-row .derma-text {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-left: 1px solid #fff; /* inner white line */
  border-right: 1px solid #fff;
}

.derma-texts-row .derma-text:first-child { border-left: none; }
.derma-texts-row .derma-text:last-child { border-right: none; }


.derma-cell-left {
  /* gap: 20px; */
  display: flex;
  width: 100%;
}

.derma-images-row:first-child .derma-text {
  border-right: 2px solid;
}

.derma-image {
  position: relative; /* For individual badges */
  display: inline-block;
}

.derma-cell-left {
  position: relative; /* For the single badge over 4 & 5 */
}

.image-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 25px;
  height: 25px;
  line-height: 16px;
  background-color: transparent;    /* White background */
  color: #4D98D8;              /* Number color */
  border: 2px solid #4D98D8;   /* Border color */
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border-radius: 1px;
  box-shadow: 0 0 2px rgba(0,0,0,0.1);
  pointer-events: none;
  padding-top: 10px;
  border-top: 0;
  border-left: 0;
}

.product-type {
  display: inline-block;
  margin-right: 5px;     /* space between Day/Night and product name */
  font-size: 12px;
  font-weight: bold;
  color: #4D98D8;        /* same as badge color */
}

.day-night {
    font-weight: bold;
    color: #4D98D8; /* optional: same blue as badge */
}

.remarks {
  color: rgb(77, 152, 216);
  font-weight: 500;
  padding: 0.5rem;
  background: rgb(255 255 255);
  border-radius: 0.5rem;
  text-transform: capitalize;
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 0%;
  display: flex;
  justify-content: center;
  place-items: center;
  margin-bottom: 19px;
  border: 1px solid rgba(194, 194, 194, 0.59);
  font-family: "Transducer";
  font-size: 0.6rem
}