/* Hytrans account page (mobile)
   - Central styling is in hytrans.css / hytrans_layout.css.
   - This file only contains account-page specific tweaks.
*/

.ht-account{
  padding: 24px 0 0;
}

.ht-account__title{
  font-family: var(--hyt-font-cond, "Acumin Pro ExtraCondensed", system-ui, sans-serif);
  font-size: 40px;
  line-height: 1.05;
  margin: 18px 0 22px;
  font-weight: 700;
  font-style: italic;
  color: #000;
}

/* Accordion stack */
.ht-acc{
  display:block;
}

/* Accordion item (details) – border around the whole block */
.ht-account .ht-acc details,
.ht-account details{
  border: 1px solid var(--hyt-blue, #14539B);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  margin: 18px 0;
  overflow: hidden;
}

.ht-account .ht-acc summary,
.ht-account summary{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.ht-account summary::-webkit-details-marker{ display:none; }

.ht-account summary > span{
  font-family: var(--hyt-font-cond, "Acumin Pro ExtraCondensed", system-ui, sans-serif);
  font-weight: 600; /* Semibold */
  font-size: 30px;
  line-height: 1;
  color: #000;
}

.ht-acc__icon{
  color: var(--hyt-red, #D50C1A);
  font-size: 23px;
  line-height: 1;
  width: 28px;
  text-align: center;
}

.ht-acc__chev{
  margin-left: auto;
  color: #bdbdbd;
  font-size: 23px;
  line-height: 1;
  transition: transform 140ms ease;
}

.ht-account details[open] .ht-acc__chev{
  transform: rotate(180deg);
}

.ht-acc__body{
  position: relative;
  border-top: 0;
  padding: 20px 18px 22px;
}

/* Row spacing inside panels */
.ht-acc__body .ht-acc__row + .ht-acc__row{
  margin-top: 18px;
}

/* pencil edit */
.ht-acc__edit{
  position:absolute;
  right: 18px;
  top: 16px;
  color: #000;
  text-decoration:none;
}
.ht-acc__edit i{ font-size: 15px; }

/* Key/value rows -> styled like "input" blocks */
.ht-acc__row{
  /* Rows inside an open panel should NOT look like separate input boxes.
     The border belongs to the accordion item itself (details). */
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin: 0;
}

.ht-acc__row + .ht-acc__row{
  /* Rows inside an open panel should NOT look like separate input boxes.
     The border belongs to the accordion item itself (details). */
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin: 0;
}

.ht-acc__label{
  font-family: var(--hyt-font-cond, "Acumin Pro ExtraCondensed", system-ui, sans-serif);
  font-weight: 600; /* Semibold */
  font-size: 30px;
  line-height: 1.05;
  color: #000;
  margin: 0 0 8px;
}

.ht-acc__value{
  font-family: var(--hyt-font-cond, "Acumin Pro ExtraCondensed", system-ui, sans-serif);
  font-weight: 300; /* Light */
  font-size: 30px;
  line-height: 1.05;
  color: #000;
}

/* Company block uses multiple values in one row */
.ht-acc__row .ht-acc__value + .ht-acc__value{
  margin-top: 12px;
}

/* Filled state (optional: add class on the row or value) */
.ht-acc__row.is-filled{
  background: #238B45;
  border-color: #238B45;
}
.ht-acc__row.is-filled .ht-acc__label,
.ht-acc__row.is-filled .ht-acc__value{
  color: #fff;
}

.ht-acc__value.is-filled{
  background: #238B45;
  color:#fff;
  padding: 8px 12px;
  border-radius: 6px;
  display:inline-block;
}



/* CTA (Get in touch) */
.ht-account__cta{
  display:flex;
  justify-content:center;
  margin: 34px 0 10px;
}

.ht-account__cta .ht-btn-outline{
  /* Make it bigger than the base shared button style */
  min-width: 320px;
  padding: 16px 56px;
  border-radius: 14px;
  cursor: pointer;
  appearance: none;
}

@media (max-width: 560px){
  .ht-account__title{ font-size: 38px; }
  .ht-acc summary > span,
  .ht-acc__label,
  .ht-acc__value{ font-size: 28px; }
}


/* Ensure CTA looks like design even when rendered as <a> */
.ht-account__cta .ht-btn-outline{
  font-family: var(--hyt-font-cond, "Acumin Pro ExtraCondensed", system-ui, sans-serif);
  font-weight: 700;
  font-size: 25px;
  line-height: 1;
}
