
/* ============================================================
   AZsvadba Frontend Auth/Workspace Layout 0.9.9.164
   ========================================================== */

body.az160-registration-page{
  background:#fbf8f4;
}

/* Remove the old detached title area / oversized top gap. */
body.az160-registration-index .az160-hide-legacy-title,
body.az160-registration-index .entry-header:has(.az160-hide-legacy-title),
body.az160-registration-index .page-header:has(.az160-hide-legacy-title){
  display:none!important;
}

body.az160-registration-index .site-main,
body.az160-registration-index #primary,
body.az160-registration-index article,
body.az160-registration-index .entry-content{
  margin-top:0!important;
  padding-top:0!important;
}

/*
 * Use the same semantic hero class as /dodavatelia/.
 * These rules are a fallback so it also renders correctly if the original
 * directory stylesheet is only enqueued on the supplier directory page.
 */
body.az160-registration-index .azmw09918-directory__hero.az160-registration-hero{
  width:100vw;
  max-width:none;
  margin:0 0 28px calc(50% - 50vw)!important;
  padding:0;
  background:
    radial-gradient(circle at 82% 0%, rgba(190,145,86,.10), transparent 31%),
    #f6efe7;
  border-top:1px solid rgba(112,83,58,.06);
  border-bottom:1px solid #eaded1;
  box-shadow:none;
}

.az160-registration-hero__inner{
  width:min(1180px,calc(100% - 38px));
  min-height:150px;
  margin:0 auto;
  padding:34px 0 30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.az160-registration-hero__eyebrow{
  margin-bottom:8px;
  color:#a97335;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.18em;
}

.az160-registration-hero h1{
  margin:0;
  color:#2f2925;
  font:400 clamp(34px,4vw,48px)/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}

.az160-registration-hero p{
  max-width:690px;
  margin:10px 0 0;
  color:#756a61;
  font-size:13px;
  line-height:1.55;
}

/* Registration starts directly under the directory-style hero. */
body.az160-registration-index .az-reg-shell{
  margin-top:0!important;
  padding-top:0!important;
}

body.az160-registration-index .az-reg-choice{
  width:min(950px,calc(100% - 30px));
  margin:0 auto 54px!important;
}

body.az160-registration-index .az-reg-choice-head{
  margin-top:0!important;
  padding-top:0!important;
}

/* Choice cards - elegant, readable and consistent. */
body.az160-registration-index .az-reg-choice-grid{
  gap:16px!important;
}

body.az160-registration-index .az-reg-choice-grid > a{
  position:relative;
  min-height:180px;
  padding:23px 24px 21px!important;
  border:1px solid #eadfd5!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 9px 24px rgba(47,35,26,.055)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}

body.az160-registration-index .az-reg-choice-grid > a:hover{
  transform:translateY(-2px);
  border-color:#d8c2a8!important;
  box-shadow:0 14px 30px rgba(47,35,26,.09)!important;
}

/* Real SVG icons instead of broken encoded glyphs. */
.az160-choice-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  border-radius:11px;
  background:#f8efe4;
  color:#a87335;
}

.az160-choice-icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.az160-choice-icon--supplier{
  background:#f4eee6;
}

body.az160-registration-index .az-reg-choice-grid strong{
  display:block;
  margin-bottom:7px;
  color:#312b27;
  font-size:17px;
  line-height:1.2;
}

body.az160-registration-index .az-reg-choice-grid > a > span:not(.az160-choice-icon){
  color:#756a62;
  font-size:12px;
  line-height:1.5;
}

body.az160-registration-index .az-reg-choice-grid em{
  display:block;
  margin-top:16px;
  color:#a06e34;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}

/* Form-side mojibake can otherwise make headings visually jump. */
body.az160-registration-page .az-reg-kicker{
  letter-spacing:.14em;
}

@media(max-width:760px){
  .az160-registration-hero__inner{
    width:calc(100% - 28px);
    min-height:128px;
    padding:27px 0 25px;
  }

  .az160-registration-hero h1{
    font-size:36px;
  }

  body.az160-registration-index .azmw09918-directory__hero.az160-registration-hero{
    margin-bottom:22px!important;
  }
}


/* ============================================================
   0.9.9.161 — hero flush under global menu
   ========================================================== */

/*
 * The screenshot showed the theme reserving vertical space before the first
 * content child. Reset common wrapper spacing. The JS below is the final
 * source of truth and removes any remaining measured gap precisely.
 */
body.az160-registration-index main{
  padding-top:0!important;
  margin-top:0!important;
}

body.az160-registration-index #content,
body.az160-registration-index .site-content,
body.az160-registration-index #primary,
body.az160-registration-index .content-area,
body.az160-registration-index .site-main,
body.az160-registration-index article,
body.az160-registration-index .entry-content{
  padding-top:0!important;
  margin-top:0!important;
}

/*
 * No artificial space before the hero. Its bottom spacing remains 28px,
 * so the registration selector still has comfortable breathing room.
 */
body.az160-registration-index .azmw09918-directory__hero.az160-registration-hero{
  margin-top:0!important;
}

/*
 * Prevent a theme pseudo-element/spacer from recreating an empty band
 * above the hero on this one page.
 */
body.az160-registration-index .entry-content::before,
body.az160-registration-index .site-main::before{
  margin-top:0!important;
  padding-top:0!important;
}

/*
 * When JS detects and removes wrapper space, keep the hero above any parent
 * decoration that could otherwise peek through behind it.
 */
body.az160-registration-index
.az160-registration-hero[data-az161-gap-removed]{
  position:relative;
  z-index:2;
}


/* ============================================================
   0.9.9.162 — login/workspace top-gap correction
   ========================================================== */

body.az162-login-page main,
body.az162-login-page #content,
body.az162-login-page .site-content,
body.az162-login-page #primary,
body.az162-login-page .content-area,
body.az162-login-page .site-main,
body.az162-login-page article,
body.az162-login-page .entry-content,

body.az162-workspace-page main,
body.az162-workspace-page #content,
body.az162-workspace-page .site-content,
body.az162-workspace-page #primary,
body.az162-workspace-page .content-area,
body.az162-workspace-page .site-main,
body.az162-workspace-page article,
body.az162-workspace-page .entry-content{
  margin-top:0!important;
  padding-top:0!important;
}

body.az162-login-page [data-az162-gap-removed],
body.az162-workspace-page [data-az162-gap-removed]{
  position:relative;
  z-index:2;
}

/* ============================================================
   Password visibility toggle
   ========================================================== */

.az162-password-field{
  position:relative;
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.az162-password-field > input.az162-password-input{
  width:100%!important;
  max-width:100%;
  box-sizing:border-box!important;
  padding-right:46px!important;
}

.az162-password-toggle{
  position:absolute!important;
  top:50%!important;
  right:8px!important;
  transform:translateY(-50%)!important;
  z-index:3!important;

  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;

  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#76685e!important;
  box-shadow:none!important;
  cursor:pointer!important;
  appearance:none!important;
}

.az162-password-toggle:hover{
  background:#f5ede4!important;
  color:#9d6c34!important;
}

.az162-password-toggle:focus-visible{
  outline:2px solid #b98245!important;
  outline-offset:1px!important;
}

.az162-password-toggle svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}

/*
 * Don't allow generic form button styles to turn the eye into a large CTA.
 */
form .az162-password-toggle,
.az-reg-card .az162-password-toggle{
  font-size:0!important;
  line-height:1!important;
}

/* Keep browser password reveal controls from overlapping our own control. */
.az162-password-input::-ms-reveal,
.az162-password-input::-ms-clear{
  display:none;
}


/* ============================================================
   0.9.9.163 — clean /prihlasenie/
   ========================================================== */

body.az162-login-page{
  background:#fbf8f4;
}

/* Same hero rhythm used by directory/registration. */
body.az162-login-page .azmw09918-directory__hero.az163-login-hero{
  width:100vw;
  max-width:none;
  margin:0 0 28px calc(50% - 50vw)!important;
  padding:0;
  background:
    radial-gradient(circle at 82% 0%,rgba(190,145,86,.10),transparent 31%),
    #f6efe7;
  border-top:1px solid rgba(112,83,58,.06);
  border-bottom:1px solid #eaded1;
  box-shadow:none!important;
}

.az163-login-hero__inner{
  width:min(1180px,calc(100% - 38px));
  min-height:150px;
  margin:0 auto;
  padding:34px 0 30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.az163-login-hero__eyebrow{
  margin-bottom:8px;
  color:#a97335;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.18em;
}

.az163-login-hero h1{
  margin:0;
  color:#2f2925;
  font:400 clamp(34px,4vw,48px)/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;
}

.az163-login-hero p{
  max-width:720px;
  margin:10px 0 0;
  color:#756a61;
  font-size:13px;
  line-height:1.55;
}

/* Old page title visible behind the modern login card. */
body.az162-login-page .az163-login-legacy-title{
  display:none!important;
}

/*
 * The screenshot shows a large white rounded legacy page box behind the
 * actual modern login card. Make page-level wrappers transparent.
 */
body.az162-login-page article,
body.az162-login-page .entry-content,
body.az162-login-page .site-main,
body.az162-login-page .content-area,
body.az162-login-page #primary{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Real modern login component: normal document flow under hero. */
body.az162-login-page .az163-login-card{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;

  width:min(980px,calc(100% - 30px))!important;
  max-width:980px!important;

  margin:0 auto 56px!important;
  z-index:2!important;
}

/*
 * Ancestors of the login card may carry min-height/padding from the legacy
 * layout. Remove only top/bottom box spacing, not inner form spacing.
 */
body.az162-login-page .az163-login-card-parent{
  min-height:0!important;
  height:auto!important;
  padding-top:0!important;
  margin-top:0!important;
}

body.az162-login-page .az163-login-legacy-wrapper{
  padding-bottom:0!important;
  margin-bottom:0!important;
}

/* Footer follows the real card instead of a legacy empty page box. */
body.az162-login-page footer{
  clear:both;
}

@media(max-width:760px){
  .az163-login-hero__inner{
    width:calc(100% - 28px);
    min-height:128px;
    padding:27px 0 25px;
  }

  .az163-login-hero h1{
    font-size:36px;
  }

  body.az162-login-page .azmw09918-directory__hero.az163-login-hero{
    margin-bottom:22px!important;
  }

  body.az162-login-page .az163-login-card{
    width:calc(100% - 24px)!important;
  }
}


/* ============================================================
   0.9.9.164 — definitive login legacy cleanup
   ========================================================== */

body.az162-login-page .az164-login-legacy-title{
  display:none!important;
}

body.az162-login-page .az164-login-card{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  width:min(980px,calc(100% - 30px))!important;
  max-width:980px!important;
  margin-right:auto!important;
  margin-bottom:54px!important;
  margin-left:auto!important;
  z-index:4!important;
}

body.az162-login-page .az164-login-legacy-wrapper{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

body.az162-login-page .az164-login-page-wrapper{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  min-height:0!important;
}

body.az162-login-page .entry-header > .entry-title,
body.az162-login-page .page-header > .page-title{
  display:none!important;
}

body.az162-login-page .entry-content{
  min-height:0!important;
  padding-bottom:0!important;
}

@media(max-width:760px){
  body.az162-login-page .az164-login-card{
    width:calc(100% - 24px)!important;
  }
}
