/* Card ↔ auth modal — same footprint as web-max.lol */



.podpiska-content {

  flex-direction: column;

}



.podpiska-card-view,

.podpiska-auth-view {

  position: relative;

  z-index: 1;

  width: 100%;

  max-width: 400px;

  min-width: 345px;

  margin: 0 auto;

  box-sizing: border-box;

  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;

}



.podpiska-auth-view[hidden],

.podpiska-card-view[hidden] {

  display: none !important;

}



.podpiska-auth-view .podpiska-modal {

  width: 100%;

  display: flex;

  justify-content: center;

}



/* Same shell as reference podpiska.css — 345–400px, padding 16/40/40 */

.podpiska-auth-view .podpiska-modal-shell {

  width: 100%;

  max-width: 400px;

  min-width: 345px;

  box-sizing: border-box;

  padding: 16px 40px 40px;

}



.podpiska-auth-view .podpiska-modal-stage {

  align-items: stretch;

  width: 100%;

  gap: 20px;

}



.podpiska-auth-view .podpiska-modal-info {

  width: 100%;

}



.podpiska-auth-view .podpiska-modal-info h1 {

  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;

  font-size: 20px;

  font-weight: 600;

  line-height: 24px;

  letter-spacing: 0;

}



.podpiska-auth-view .podpiska-modal-info p {

  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;

  font-size: 15px;

  font-weight: 400;

  line-height: 20px;

  color: #ffffffa3;

  margin: 8px 0 0;

}



.podpiska-auth-view #auth-terms-hint.podpiska-modal-hint {

  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;

  font-size: 13px;

  font-weight: 400;

  line-height: 16px;

  color: #ffffffa3;

  margin: 0;

}



html.landing-podpiska #code-submit-btn,

html.landing-podpiska #back-from-code {

  display: none !important;

}



/* SMS code: cells + resend grouped — 8px like .podpiska-modal-resend on ref */

html.landing-podpiska .podpiska-modal-code-wrap {

  display: flex;

  flex-direction: column;

  align-items: center;

  width: 100%;

  gap: 0;

}

html.landing-podpiska .podpiska-modal-code-wrap--pending .podpiska-modal-code {
  opacity: 0.55;
  pointer-events: none;
}



html.landing-podpiska .podpiska-modal-code-wrap .podpiska-modal-code {

  justify-content: center;

  gap: 8px;

  width: 100%;

}



html.landing-podpiska .podpiska-modal-code-wrap .podpiska-modal-error {

  margin: 8px 0 0;

  width: 100%;

}



html.landing-podpiska .podpiska-modal-code-wrap .podpiska-modal-resend-timer {

  margin-top: 8px;

  text-align: center;

}



html.landing-podpiska .podpiska-modal-code-wrap #resend-code.podpiska-modal-resend:not([hidden]) {

  display: block;

  margin-top: 8px;

  padding: 10px 12px;

  text-align: center;

  font-family: var(--font-roboto), -apple-system, BlinkMacSystemFont, system-ui, Arial, sans-serif;

  font-size: 16px;

  font-weight: 500;

  line-height: 20px;

}



@media (max-width: 500px) {

  .podpiska-card-view,

  .podpiska-auth-view {

    min-width: 0;

    max-width: 100%;

  }



  .podpiska-auth-view .podpiska-modal-shell {

    min-width: 0;

    padding: 12px 20px 24px;

    border-radius: 24px;

  }

}



.auth-step {

  display: none !important;

  flex-direction: column;

  align-items: stretch;

  gap: 20px;

  width: 100%;

}



.auth-step.active {

  display: flex !important;

}



#auth-error:not([hidden]),

#code-error:not([hidden]),

#password-error:not([hidden]) {

  display: block;

}



.podpiska-modal-primary.button--disabled,

.podpiska-modal-primary:disabled {

  color: #ffffff47;

  cursor: default;

  background: #ffffff1f;

}



.podpiska-modal-eye::before {

  content: '';

  display: block;

  width: 22px;

  height: 22px;

  margin: auto;

  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23ffffffa3' stroke-width='2' d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3' stroke='%23ffffffa3' stroke-width='2'/%3E%3C/svg%3E");

}



.podpiska-modal-password.podpiska-modal-password--show .podpiska-modal-eye::before {

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23ffffffa3' stroke-width='2' d='M3 3l18 18M10.58 10.58A3 3 0 0 0 12 15a3 3 0 0 0 2.42-1.42M9.88 5.09A10.94 10.94 0 0 1 12 5c6.5 0 10 7 10 7a18.45 18.45 0 0 1-4.32 5.41M6.06 6.06A18.5 18.5 0 0 0 2 12s3.5 7 10 7a10.8 10.8 0 0 0 5.09-1.27'/%3E%3C/svg%3E");

}



#country-dropdown[hidden],

.podpiska-modal-country-menu[hidden] {

  display: none !important;

  visibility: hidden !important;

  pointer-events: none !important;

}



@media (max-width: 500px) {

  #country-dropdown {

    display: none !important;

  }

}



#podpiska-country-sheet[hidden] {

  display: none !important;

}



#podpiska-country-sheet {

  position: fixed;

  inset: 0;

  z-index: 2000;

}



#podpiska-country-sheet .podpiska-sheet-overlay {

  position: fixed;

  inset: 0;

}



.podpiska-flag-img {

  width: 20px;

  height: 20px;

  display: block;

  flex-shrink: 0;

  border-radius: 50%;

  object-fit: cover;

}



.podpiska-modal-country-trigger strong {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 22px;

  height: 22px;

  flex: none;

}



.podpiska-modal-country-list button strong {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 22px;

  height: 22px;

  flex: none;

}


