body {
  font-family: Arial, sans-serif;
  font-size: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00414b;
  color: white;
}
input {
  color: #00414b;
}
input:focus {
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-webkit-autofill::after {
    -webkit-box-shadow: #00414b;
    -webkit-text-fill-color: white;
    transition: background-color 9999s ease-in-out 0s;
    font-family: Arial, sans-serif;
}

a {
  text-decoration: none;   /* usuwa podkreślenie */
  color: inherit;          /* usuwa niebieski kolor */
}
#ptelefon{
  color: #00414b;
  font-size: 36px;
  display: inline-block;
  background-color: #00414b;
  border-top: 4px solid #c200a9;
  border-bottom: 4px solid #c200a9;
  border-left: 4px solid #c200a9;
  border-right: 0px;
  border-top-left-radius: 38px;
  border-bottom-left-radius: 38px;
  padding: 14px 20px 14px 20px;
}
#numertelefonu {
  font-size: 36px;
  background-color: #00414b;
  border: 0px;
  color: white;
  width: 380px;
}
#pstart {
  font-size: 36px;
  display: inline;
  border: 4px solid green;
  border-top-right-radius: 38px;
  border-bottom-right-radius: 38px;
  padding: 16px 28px 16px 20px;
  position: relative;
  top: -1px;
}
.pstart_off {
  background-color: #00414b;
  cursor: not-allowed;
  color: #7c9599;
}
.pstart_aktywny {
  background-color: green;
  cursor: pointer;
  color: #fff;
}
#typing {
  white-space: nowrap;
  margin-left: 18px;
  border-right: 3px solid white;
  padding-right: 6px;
  animation: blink 0.8s step-end infinite;
  display: inline;
}
#logoy {
  position: fixed;
  left: -10px;
  top: -50px;
  z-index: 1000; /* Zapewnia, że jest na wierzchu */
  /*  border-bottom: 1px solid #5dcf00; */
}
#jezyk {
  position: fixed;
  right: 40px;
  top: 60px;
  font-size: 18px;
  z-index: 1000; /* Zapewnia, że jest na wierzchu */
  /*  border-bottom: 1px solid #5dcf00; */
}
#telefon {
  position: fixed;
  top: 280px;
  z-index: 1000; /* Zapewnia, że jest na wierzchu */
  /*  border-bottom: 1px solid #5dcf00; */
}
#freebelka {
  position: fixed;
  color: #ccc;
  top: 410px;
  z-index: 1000;
  font-size: 16px;
}
#freebelka_mobi {
  display: none;
  position: fixed;
  color: #ccc;
  top: 410px;
  z-index: 1000;
  font-size: 16px;
}

#promoKafel {
  overflow: hidden;
  max-height: 300px; /* daj wartość większą niż realna wysokość bloku */
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.6s ease,
    opacity 0.4s ease,
    margin 0.6s ease,
    padding 0.6s ease;
}

/* stan po zwinięciu */
#promoKafel.zwin {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


.tagi {
  display: inline-block;
  margin: 0px 18px 0px 18px;
  color: #7c9599;
}
.black { color: #000; }
.green { color: #5dcf00; }
.white { color: #fff;}
.yellow { color: #ffb400; }
.kafel {color: #002024;}

@keyframes autofillStart {
    from {}
    to {}
}

input:-webkit-autofill {
    animation-name: autofillStart;
    animation-duration: 0.01s;
}

@keyframes blink {
  50% { border-color: transparent; }
}
.log_numer {
  display: inline-block;
  font-size: 16px;
  padding-right: 6px;
  border-top: 2px solid #c200a9;
  border-bottom: 2px solid #c200a9;
  border-left: 2px solid #c200a9;
  padding: 4px 4px 4px 12px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.logout-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity .2s ease;
}
.logout-link.is-busy {
  opacity: .7;
  cursor: wait;
}
.logout-link .logout-spinner {
  display: none;
  margin-left: 2px;
}
.logout-link.is-busy .logout-icon {
  display: none;
}
.logout-link.is-busy .logout-spinner {
  display: inline-block;
}

.kafle {
  display: flex;
  flex-direction: column;
}
.kafel {
  border: 0px;
  border-radius: 12px;
  color: #fff;
  padding: 0px;
  margin-top: 12px;
  display: flex;
}
.kafel_bez_ramki {
  border: 0px;
  border-radius: 12px;
  color: #fff;
  padding: 0px;
  margin-top: 12px;
  display: flex;
  min-width: 460px;
}
.kafel_bez_ramki_komunikat .kafel_bez_ramki_komunikat_ostrzezenie {
  border: 0px;
  border-radius: 12px;
  color: #D1FAE5;
  padding: 12px;
  margin-top: 12px;
  display: flex;
  min-width: 420px;
}
.kafel_bez_ramki_komunikat_ostrzezenie {
  color: yellow;
}
.kafel_ikona {
  float: left;
  display: flex;
  align-items: stretch;
  align-items: center;
  padding: 12px 12px 10px 12px;
}
.kafel_opis {
  font-size: 14px;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
}
.kafel50 {
  flex: 1;
  display: flex;
  align-items: center;      /* pion do środka */
  justify-content: center;
  padding: 20px;
}
.jest_link {
  cursor: pointer;
}
.kafel_button {
  font-weight: bold;
  display: flex;
  align-items: stretch;
  align-items: center;
  font-size: 16px;
  background-color: yellow;
  padding: 12px 36px 12px 36px;
  border-radius: 24px;
  cursor: pointer;
  color: #00414b;
}
.kafel50_lewy_statsy {
  border-left: 2px solid #c200a9;
  border-top: 2px solid #c200a9;
  border-bottom: 2px solid #c200a9;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  min-height: 200px;
  font-size: 14px;
  flex-direction: column;
}
.kafel50_prawy_statsy {
  border-right: 2px solid #6500c9;
  border-top: 2px solid #6500c9;
  border-bottom: 2px solid #6500c9;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  min-height: 200px;
  font-size: 14px;
  flex-direction: column;
}
.stat_glowna_liczba {
  font-size: 84px;
}
.kafel_zablokowany {
    border: 0px;
    border-radius: 12px;
    color: #fff;
    padding: 36px 36px 30px 36px;
    margin-top: 12px;
    display: flex;
    background-color: #00353d;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 460px;
}
.haslo {
  font-size: 16px;
  padding: 12px 12px 12px 12px;
  margin: 0px 12px 12px 12px;
  background-color: #00414b;
  border: 0px;
  color: white;
  text-align: center;
  width: 380px;
  border-radius: 36px;
  display: block;
}
.kafel_button_nieaktywny {
  background-color: #00414b;
  color: #00353d;
  cursor: default;
}
.haslo_poprawne {
  color: #5dcf00;
}
.konto_numer {
  display: block;
  margin-top: 12px;
  margin-bottom: -20px;
  font-size: 32px;
}
.fa-stack-custom{
  position: relative;
  display: inline-block;
  width: 1.8em;   /* rozmiar "kafla" */
  height: 1.8em;
  line-height: 1.8em;
}

.fa-stack-custom .bg{
  position: absolute;
  inset: 0;
  font-size: 1.2em; /* duża ikona tła */
  line-height: 1em;
  color: #00414b;
}

.fa-stack-custom .fg{
  position: absolute;
  left: 16%;
  top: 19%;
  color: #00353d;
  font-size: 0.5em; /* mniejsza ikona na wierzchu */
}
.fa-stack-custom .fgb{
  position: absolute;
  left: 24%;
  top: 16%;
  color: #00353d;
  font-size: 0.5em; /* mniejsza ikona na wierzchu */
}
/* div z inputami */
.code-box{
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.code-input, .code-input-disabled{
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  border: 2px solid #00414b;
  border-radius: 10px;
  outline: none;
}
.code-input-disabled {
  background-color: #00414b;
}
.code-input:focus{
  border-color: #5dcf00;
}
.numertelefonu_styl {
  font-size: 24px;
  background-color: #00414b;
  border: 0px;
  color: white;
  width: 380px;
}

#promoKafel {
  display: flex;
  align-items: center;   /* pionowe wyśrodkowanie obu kolumn */
  gap: 12px;

  padding: 12px 16px;
  border-radius: 14px;
  box-sizing: border-box;
}

#promoKafel i {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#promoKafel span {
  flex: 1;               /* prawa kolumna zajmuje resztę miejsca */
  display: flex;
  font-size: 16px;
  align-items: left;   /* pionowe wyśrodkowanie tekstu w kolumnie */
  text-align: left;     /* jeśli chcesz tekst dosunięty do prawej */
  justify-content: flex-end; /* tekst na prawo */
}


.countdown-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: 10px;
}

.countdown-item {
  min-width: 74px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 0px;
  background: #00414b;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.countdown-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.countdown-label {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.9;
  line-height: 1;
}

.countdown-item.niewidoczny {
  display: none;
}

.niewidoczny {
  display: none;
}

.watch-rating-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

/*
  Element ma jednocześnie klasy "watch-rating-overlay" oraz "niewidoczny".
  Ponieważ powyżej ustawiamy display:flex, sama klasa .niewidoczny (display:none)
  może zostać nadpisana regułą o tej samej specyficzności.
  Dodajemy więc bardziej specyficzną regułę poniżej.
*/
.watch-rating-overlay.niewidoczny {
  display: none;
}

.watch-rating-modal {
  width: min(460px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
}

.watch-rating-question {
  font-size: 18px;
  font-weight: 700;
  color: #00414b;
  margin-bottom: 14px;
  text-align: center;
}

.watch-rating-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.watch-rating-btn,
.watch-rating-cancel {
  border: 0;
  border-radius: 12px;
  padding: 11px 8px;
  cursor: pointer;
  font-weight: 700;
}

.watch-rating-btn {
  background: #00414b;
  color: #fff;
}

.watch-rating-btn:hover { opacity: .92; }

.watch-rating-cancel {
  width: 100%;
  margin-top: 10px;
  background: #edf2f3;
  color: #00414b;
}

.watch-saved-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(16px);
  background: #00414b;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  z-index: 9999;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  font-weight: 600;
}

.watch-saved-toast.niewidoczny {
  display: none;
}

.watch-saved-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
