/* --- Copy icons and button (shared with register.php) --- */
.copy-btn {
  position: relative;
  background: none;
  border: none;
  padding: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background-color 0.15s ease;
  cursor: pointer;
}
.copy-btn:hover, .copy-btn.copied {
  background-color: rgba(26, 115, 232, 0.10);
  transform: scale(1.08);
}
.icon-copy, .icon-check {
  display: inline;
  vertical-align: middle;
}
.icon-check {
  color: #00b894;
}
.copy-icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
}
        @font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}        
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
        @font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}


/* font-family nastavujeme pouze v body, ne v * selectoru */
 :root {
  --color-accent: #f5f7fa;
  --color-border: #e0e0e0;
  --color-hover: #eeedea;
  --color-error: #e63946;
  --color-primary: #007BFF;
  --color-secondary: #1A1D23;
  --color-success: #00b894;
  --font-color: #555;
  --font-main: 'Inter', sans-serif;
  --logo-height: 66px;
  --primary-font: 'Inter', sans-serif;
  --radius: .5rem;
  --shadow: 0 2px 8px rgba(26,115,232,0.08);
  --spacing-medium: 6px;
  --spacing-small: 12px;
  --tagline-font-size: 16px;
}
        body {
            font-family: 'Inter', sans-serif;
            background-color: #F9F9F9; /* Pozadí */
            color: #202124; /* Text (tmavý) */
            margin: 0;
            padding: 0;
        }
h2 {
    font-size: 24px;
}
p {
  font-size: 16px;
}
h3 {
    font-size: 20px;
    color: #1a73e8;
    font-weight: 600;
}
a.btn,
a.btn:visited,
a.btn:hover,
a.btn:active,
a.btn:focus {
  text-decoration: none !important;
}
.logo-link {
  margin-right: 20px; 
  display: inline-block;
  text-decoration: none;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:active {
  transform: none;
  outline: none;
  box-shadow: none;
  filter: none;
}
  .page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Footer styl */
.footer-centered {
  text-align: center;
  padding: 15px 10px;
  background-color: transparent;
  color: #555;
  font-size: 14px;
  border-top: 1px solid #ddd;
}

.footer-centered a {
  color: #007BFF;
  text-decoration: none;
}

.footer-centered a:hover {
  text-decoration: underline;
}
.container {
    flex: 1;        
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-sizing: border-box;  /* aby paddingy a border šly do toho 100 % */
    width: 100%;             /* veškerá šířka kontejneru okna */
    max-width: 800px;        /* ale nikdy víc než 800 px */
    margin: 10px auto;   /* centrování a mezery */
}

        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 5px;
            padding-bottom: 5px;
            border-bottom: 2px solid #1a73e8;
        }


.logo-with-tagline {

    align-items: center;
    gap: var(--spacing-small); /* moderní náhrada pro margin-left */
    flex-wrap: wrap;
    font-family: var(--primary-font);
}

.logo-with-tagline img {
    height: var(--logo-height);
    object-fit: contain;
}

.speech-bubble {
  position: relative;
  margin: 4px 0;
  background: #f1f3f4;
  color: #202124;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  margin-left: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  line-height: 1.4;
  width: fit-content; /* Přidáno: bublina podle délky textu */
  min-width: 40px;    /* Volitelné: minimální šířka pro krátké texty */
}

.speech-bubble::after {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right-color: #f1f3f4;
}

.sms-invitation {
  position: relative;
  background: #e5e5ea;
  color: #4d4d4d;
  padding: 7px 18px;
  margin: 0 auto;
  max-width: 90%;
  border-radius: 20px;
  font-size: 1.05rem;
  line-height: 1.5rem;
  font-weight: 400;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
}

.sms-invitation .copy-sms-phone {
  margin-left: 4px;
  padding: 2px;
  border: none;
  background: none;
  cursor: pointer;
  color: #999 !important;
  opacity: 0.7;
  vertical-align: middle;
  display: contents;
  transition: all 0.25s ease;
}

.sms-invitation .copy-sms-phone:hover {
  opacity: 1 !important;
  color: #666 !important;
}

.sms-invitation .copy-sms-phone:hover svg {
  transform: scale(1.1);
  color: #666;
}

.sms-invitation .copy-sms-phone svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  transition: all 0.25s ease;
}

.sms-invitation .copy-sms-phone .icon-check {
  color: #999 !important;
}

.sms-invitation .copy-sms-phone .icon-check svg {
  color: #999 !important;
}

.sms-invitation .close {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 6px;
  right: 6px;
  cursor: pointer;
  color: #888;
  opacity: 0.6;
  transition: all 0.25s ease;
  z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: normal;
}

.sms-invitation .close:hover {
  cursor: pointer;
  background: rgba(102, 102, 102, 0.1);
  color: #333;
  transform: scale(1.1);
  opacity: 1;
}
.sms-invitation::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 40px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-bottom-color: #e5e5ea;
}


.sms_info {
  color:#333;
  background: #f9f9f9;
  border: 1px solid rgb(224 224 224);
  padding: 4px;
  border-radius: 12px;
}    
.red {
 color: #d7141a;
}
.gray {
 color: #333333;
}
.bold {
font-weight: 600;
}
 h1 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-align: left;
  color: #1a73e8; /* hlavní modrá */
  margin: 10px 0 20px 0;
  line-height: 1.3;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  input[type="file"] {
  display: none;
}
.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* mezera mezi ikonou a textem */
  padding: 8px 18px;
  background: #1A73E8;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 8px;
  transition: background 0.2s;
  font-size: 1rem;
}
.file-upload-btn:hover {
  background: #155ab6;
}
.menu-heart {
    display: flex;
    position: fixed;
    border: none;
    top: 32px;
    right: 78px;
    z-index: 3000;
    font-size: 2rem;
    background: transparent;
    border-radius: 0.5rem;
    color: #333;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

/* Animace pro text v minci při změně $ ↔ € */
.menu-heart svg text {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-heart svg text.changing {
    transform: scale(1.2);
    fill: #28a745; /* Zelená barva pro euro - znamená nové zprávy */
}
 .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}       
.header-actions {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  background: #fff;
  border-left: 1px solid #e0e0e0;
  box-shadow: -4px 0 24px rgba(0,0,0,0.10);
  z-index: 4000;
  padding: 8px 18px 18px 18px;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  transform: translateX(100%);
}
.header-actions.open {
  display: flex;
  transform: translateX(0);
}
#close-menu {
  position: absolute;
  top: 4px;
  right: 18px;
  z-index: 10;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

#close-menu:hover {
  background: rgba(102, 102, 102, 0.1);
  color: #333;
  transform: scale(1.1);
}

.header-actions a,
.header-actions .language-switcher {
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #333;
  font-size: 0.83rem;
}
.menu-toggle {
    display: flex;
    position: fixed;
    border: none;
    top: 32px;
    right: 22px;
    z-index: 3000;
    font-size: 2rem;
    background: transparent;
    border-radius: 0.5rem;
    color: #333;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;      /* vertikální zarovnání */
    justify-content: center;  /* horizontální zarovnání */
    transition: all 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(102, 102, 102, 0.1);
  color: #333;
  transform: scale(1.1);
}

.menu-heart:hover {
  background: rgba(102, 102, 102, 0.1);
  color: #333;
  transform: scale(1.1);
}


.language-btn {
  padding: 0.3rem 0.6rem;
  background-color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.language-btn:hover {
  background-color:var(--color-hover);
}

.language-btn.active {
  background-color: #007bff;
  color: #fff;
}
.language-switcher {
  flex-direction: initial;
  flex-wrap: wrap;
  max-width: 190px;
  align-items: start;
  gap: 0.75rem;
}
.icon {
    width: 26px;
    height: 26px;
    vertical-align: middle;
    margin-right: 5px;
}

.link-info {
  display: inline-flex;
  color: #888;
    border: none;
    font-weight: 500;
    font-size: 16px;
    padding: 2px 6px;
    text-decoration: none;

}

  




        .sms-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.sms-item.incoming {
  justify-content: flex-start;
  flex-direction: row;
}

.sms-item.outgoing {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 8px;
  flex-shrink: 0;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid transparent;
  margin: 0;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.flag-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  height: 20px;
}

.flag-container .flag-icon {
  width: 20px;
  height: 15px;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.has-avatar {
  border-color: #1A73E8; /* modrý rámeček pro uživatele s fotkou */
}

.no-avatar {
  border-color: #CCCCCC; /* šedý rámeček pro výchozí/guest avatar */
}

/* Profesionální avatar s iniciálami (Microsoft style) */
.avatar-initials {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid; /* barva se nastavuje dynamicky v PHP */
  margin: 0;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  
  /* Styling pro text */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  user-select: none;
  
  /* Vysoký kontrast pro čitelnost */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  
  /* Smooth transitions */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Responzivní úpravy pro menší obrazovky */
@media (max-width: 480px) {
  .avatar,
  .avatar-initials {
    width: 50px;
    height: 50px;
  }
  
  .avatar-initials {
    font-size: 18px;
  }
  
  .bubble {
    margin-left: 2px !important;
  }
}

.bubble {
  display: inline-block;
  position: relative;
  background: rgba(255, 255, 255, 0.1); /* téměř průhledné */
  border-radius: 20px;
  padding: 8px 10px;
  max-width: 99%;
  min-width: 100px;
  word-wrap: break-word;
  box-shadow: var(--shadow);
  margin-left: 10px; /* přidává mezeru mezi avatarem a bublinou */
}

.bubble::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -16px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: rgba(0, 0, 0, 0.05); /* černý okraj zobáčku */
  z-index: 2;
}

.bubble::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -15px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: #e5e5ea; /* průhledná výplň zobáčku */
  z-index: 3;
}


.bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

/* Příchozí zpráva */
.sms-item.incoming .bubble {
  background-color: #e5e5ea; /* světle šedá */
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
  color: #202124;
}



/* Odchozí zpráva */
.sms-item.outgoing .bubble {
  background-color: #e5e5ea;
}

.sms-item .phone-number {
    color: #1A73E8;
    font-weight: 600;
    font-size: 15px;
        }

 .sms-item .date {
  padding-left: 5px;  
  color: #34A853;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
        }
        .sms-item .text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #202124; /* Text (tmavý) */
  word-break: break-word;       /* Zlomí dlouhé slovo */
  overflow-wrap: anywhere;      /* Pro extra jistotu */
  max-height: 500px;           /* Omezí výšku bubliny pro extrémně dlouhé zprávy */
  overflow-y: auto;            /* Umožní scrollování uvnitř bubliny */
  overflow-x: hidden;          /* Skryj horizontální posuvník - jako v iPhone/WhatsApp */
  font-family: 'Inter', sans-serif;
}

.sms-item .text a.preview-link {
  color: #1A73E8;
  text-decoration: underline;
  word-break: break-all;
  transition: color 0.2s;
}
.sms-item .text a.preview-link:hover {
  color: #1765c1;
  background: #e5f0ff;
}
.sms-item .text img.emoji {
  height: 1.2em;
  vertical-align: middle;
}

/* Link preview kontejner v textové oblasti */
.sms-item .text .link-preview {
  max-width: 100%;
  overflow: hidden;
}
.pagination {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        .pagination a {
            padding: 10px 20px;
            font-size: 16px;
            text-decoration: none;
            background-color: #A142F4; /* Akcent */
            color: #FFFFFF; /* Text na tlačítkách */
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }
        .pagination a:hover {
            background-color: #7A2DBD; /* Tmavší akcent */
        }
        .pagination a.disabled {
            background-color: #CCC; /* Neaktivní tlačítko */
            pointer-events: none;
        }
        input::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Kontejner pro stránkování */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
}

/* Informace o stránce */
.pagination-info {
    font-size: 14px;
    color: #555;
    margin-right: 20px;
}

/* Tlačítka pro stránkování */
.pagination-arrow,
.pagination-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: transparent;
    color: #117bff;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 3px solid #117bff;
}

/* Aktivní stránka */
.pagination-link.active {
    background-color: #117bff;
    font-weight: bold;
    color: #fff;
}

/* Hover efekt pro tlačítka */
.pagination-arrow:hover,
.pagination-link:hover {
    background-color:#117bff;
    transform: scale(1.1);
    color:#fff;
}

/* Disabled tlačítka */
.pagination-arrow.disabled,
.pagination-link.disabled {
    background-color: #bbb;
    pointer-events: none;
    color:#fff;
    border: 3px solid #bbb;
}

/* Styl pro pravý panel */
#sms-info {
    flex: none; /* Zruší roztažení divu na základě flexboxu */
    max-width: 30%; /* Maximální šířka pravého panelu */
    background-color: #e6f7ff; /* Světlé pozadí pro oddělení */
    padding: 15px; /* Vnitřní odsazení */
    border-radius: 10px; /* Zaoblené rohy */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Jemný stín */
}

.sms-info {
  color: #1a73e8;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 500;
}

.sms-header {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    font-size: 14px;
}

.sms-body {
    background-color: #cdeff3;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 16px;
    font-family: monospace;
    margin-bottom: 10px;
    word-break: break-word;
    border: 2px dashed #1a73e8;
    font-family: 'Roboto Mono', monospace;
    font-size: 20px;
}

.sms-body strong {
    font-weight: bold;
    color: #000;
}

.copy-icon {
  width: 20px;
  height: 20px;
  stroke: #1a73e8;
  pointer-events: none;
}

.nowrap {
    white-space: nowrap;
}
.sms-body code {
    font-family: 'Roboto Mono', monospace;
}
.phone {
    font-size:70px;
}

/* Stylování pro select */
.country-filter {
    padding-top: 10px;
    padding-bottom:10px;
    padding-right:22px;
    padding-left:10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    background: #fff;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: center;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Plynulé změny pozadí při interakci */
}

/* Animace při kliknutí */
.dropdown-button:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    background-color: #fff;
}


/* Styling pro dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    width: 250px;
    font-family: Arial, sans-serif;
}

.dropdown-button {
    background-color: #ffffff;
    border: 2px solid var(--color-border);
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-button::after {
    content: '▼';
    margin-left: auto;
    font-size: 12px;
    color: #888;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 2px solid var(--color-border);
    width: 100%;
    margin-top: 4px;
    border-radius: var(--radius);
    max-height: 220px;
    overflow-y: auto;
    padding-inline-start: 8px;
    outline: none;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}


.dropdown-menu li:hover {
    background-color: var(--color-hover);
}


.flag-icon {
    border: 1px solid #e0e0e0;
    width: 16px;
    height: 12px;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 4px; /* nebo margin-right podle pozice */
    border-radius: 2px; /* volitelné – jemné zaoblení */
}

  
#sms-list-container {
    flex: 1; /* Levý panel zabírá zbývající prostor */
    max-width: 100%; /* Maximální šířka, pokud není pravý panel */
    transition: max-width 0.3s ease; /* Plynulý přechod při změně šířky */
}

.content-container {
    display: flex;
    gap: 20px; /* Mezera mezi panely */
    margin-top: 20px;
    align-items: flex-start; /* Zarovnání panelů nahoře */
}
strong {
    font-weight: bold;
}

.hidden {
    display: none !important;
}
.count {
    color: #999;
    font-size: 0.9em;
    margin-left: 4px;
}
.expiry-label {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    padding-left: 4px;
}

label {
 display: block;
  padding-top: 12px;
}

label p {

    margin-top: 2px;
}
small {
    display: block;
}
.btn {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 12, 12, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-btn {
  background-color: #117bff;
}
.primary-btn:hover {
  background-color: #117bff;
  transform: scale(1.03);
}
.cancel-btn {
  background-color: #adb5bd;
}
.cancel-btn:hover {
  background-color: #5A6268;
  transform: scale(1.03);
}
.error-message {
  background-color: #ffe6e6;
  color: var(--color-error);
  padding: 10px;
  border-left: 4px solid var(--color-error);
  border-radius: var(--radius);
  margin-top: 10px;
}

.success-message {
  flex: none;
  background-color: #e6f7ff;
  color: #555;
  margin-top: 30px;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.form-reg {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 30px auto;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

input[type="text"],
input[type="tel"],
input[type="file"] {
  max-width: 100%;
  padding: 12px 12px;
  font-size: 17px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
  box-shadow: var(--shadow);
}

input:focus {
  outline: none;
  border-color: var(--color-primary);
}
input[type="tel"] {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 12px;
  max-width: 350px;
}
.iti {
    max-width: 100%;
}

.iti__selected-dial-code {
    font-size: 17px;
    font-weight: 600;
}
.iti__selected-flag {
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.iti__arrow {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}
.image-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}

.remove-btn {
  position: absolute;
  top: -1px;
  right: -30px;
  background-color:rgb(237 236 236);;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #434546;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.remove-btn:hover {
  color:rgb(97, 98, 98);
  transform: scale(1.1);
}

.phones,
.phones a,
.phones a:link,
.phones a:visited,
.phones a:active,
.phones a:hover {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
  text-align: center;
  background-color: #e6f0ff;
  border: 1px solid #cce0ff;
  padding: 12px 20px;
  margin: 20px auto;
  border-radius: 12px;
  max-width: 360px;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.1);
  word-break: break-word;
  text-decoration: none;
}
input[type="file"] {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #555;
  background-color: #fff;
  border: 2px solid var(--color-border);
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  max-width: 100%;
}


input[type="file"]::file-selector-button {
  font-family: inherit;
  background-color: #1a73e8;
  color: white;
  border: none;
  padding: 8px 14px;
  margin-right: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

input[type="file"]::file-selector-button:hover {
  background-color: #1669d1;
}


input::placeholder,
textarea::placeholder {
  font-family: 'Inter', sans-serif;
  color: #999;
  font-weight: 400;
  opacity: 1; /* zajišťuje viditelnost */
  transition: color 0.2s ease, opacity 0.2s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: #ccc;
  opacity: 0.6;
}
.sms-body {
  background-color: #f7faff;
  color: #1a1a1a;
  border: 2px dashed #1a73e8;
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  font-weight: 400;
  padding: 16px 20px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  word-break: break-word;
}


.copy-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  transform-origin: center center;
  background: none;
  border: none;
  padding: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a73e8;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.copy-btn:hover {
  background-color: rgba(26, 115, 232, 0.1);
  transform: translateY(-50%) scale(1.08); /* <= zachová zarovnání na střed */
}


.copy-icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.back-icon {
  width: 20px;
  height: 20px;
  stroke:rgb(255, 255, 255);
  flex-shrink: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.header-actions .language-switcher-dropdown {
  margin-top: 12px;
}

.header-actions .language-current-btn {
  width: 100%;
  justify-content: flex-start;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.language-current-btn:hover,
.language-current-btn:focus {
    background: var(--color-hover);
}

.lang-arrow {
    font-size: 14px;
    margin-left: 6px;
}

.header-actions .language-dropdown-menu {
  
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 2px;
}

.header-actions .language-btn {
  padding: 10px 10px;
  margin: 2px;
  font-size: .9rem;
  background: none;
  color: #333;
  text-align: left;
  border: none;
}

.header-actions .language-btn:hover {
  background: var(--color-hover);
  color: #1A73E8;
}
.header-actions hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 6px 0;
}
.language-switcher-dropdown.open .language-dropdown-menu {
    display: block;
}

.register-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #1A73E8;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.header-actions .register-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #1A73E8;
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.header-actions .register-btn:hover {
  background: #1765c1;
  color: #fff;
}

.register-btn .icon {
  transition: transform 0.3s ease;
}

.register-btn:hover .icon {
  transform: scale(1.1);
}
.header-actions .about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-actions .about-btn:hover {
  background-color: var(--color-hover);
}
.about-btn .icon {
  transition: transform 0.3s ease;
}

.about-btn:hover .icon {
  transform: scale(1.1);
}
#about-modal .modal-content {
  background: linear-gradient(to right, #f9f9f9, #ffffff);
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
}

#about-modal h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1A73E8;
  margin-bottom: 16px;
}

#about-modal p {
  font-size: 16px;
  color: #444;
  margin-top: 10px;
}

#email-modal .modal-content {
  background: linear-gradient(to right, #f9f9f9, #ffffff);
  border-radius: 20px;
  padding: 10px 22px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
}

#email-modal h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1A73E8;
  margin-bottom: 16px;
}


#email-modal p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.close {
    width: 44px;
    height: 44px;
    background: transparent;
    border-radius: 50%;
    border: none;
    font-size: 2rem;
    font-weight: normal;
    color: #888;
    z-index: 4100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    cursor: pointer;
    float: right;
}
.close:hover {
  cursor: pointer;
  background: rgba(102, 102, 102, 0.1);
  color: #333;
  transform: scale(1.1);
}

#email-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 10px 22px;
  max-width: 460px;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  animation: fadeIn 0.3s ease-out;
  text-align: left;
}

#email-modal .modal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1A73E8;
  margin-bottom: 12px;
}

#support-modal .modal-content {
  background: linear-gradient(to right, #fff, #f9f9f9);
  border-radius: 20px;
  padding: 24px 28px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  color: #333;
  text-align: left;
  animation: fadeIn 0.3s ease-out;
}

#support-modal h1 {
  color: #d6336c;
}

.sms-body {
  background-color: #f7faff;
  color: #1a1a1a;
  border: 2px dashed #1a73e8;
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  font-weight: 400;
  padding: 16px 20px;
  border-radius: 10px;
  text-align: center;
  word-break: break-word;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.sms-footer {
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #f7faff;
  border-radius: 10px;
  border: 2px dashed #1a73e8;
  font-size: 20px;
  gap: 10px;
  position: relative;
}
.sms-footer-spacer {
  width: 40px; /* Rezerva vlevo – stejně široká jako tlačítko */
}
.sms-footer-center {
  flex-grow: 1;
  text-align: center;
  font-weight: 500;
  color: #444;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0; /* zabrání přetečení */
}
.sms-target {
  font-family: 'Roboto Mono', monospace;
  font-size: 24px;
  padding: 3px 10px;
  color: #222222;
  white-space: nowrap;
}
.nowrap {
    white-space: nowrap;
}
.sms-body code {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1em;
    padding: 3px 2px;
    color: #222222;
    white-space: nowrap;
}
 .phone-image-wrapper  {
    background: #fde9cf;
  }
 .phone-image-wrapper img {
    max-width: 200px;
    background: #fde9cf;
    height: auto;
  }

#fab-email {
  position: fixed;
  right: 32px;
  bottom: 64px;
  border: none;
  border-radius: 28px;
  background: #1A73E8;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  min-width: 56px;
  padding: 0 24px 0 16px;
  gap: 12px;
  transition: box-shadow 0.2s, background 0.2s;
}
#fab-email:hover {
  background: #1765c1;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
#fab-email svg {
  pointer-events: none;
}
#fab-email {
  font-size: 1rem;
  transition: width 0.2s ease, padding 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
}

/* když chceme jen ikonu */
#fab-email.collapsed {
  padding-left: 13px;
  padding-right: 13px;
  min-width: 56px;
}
#fab-email svg {
  width: 24px;
  height: 24px;
}

#fab-email.collapsed .fab-text {
  display: none;
}
#main-menu {
  position: fixed;
  padding-top: 56px;
}
.current-date {
  position: absolute;
  text-align: right;
  top: -9px;
  right: 4px;
  font-size: 15px;
  color: #666;
  font-weight: 500;
  width: 200px;
}


.language-switcher-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.language-switcher {
  text-align: start;
  padding: 6px 6px;
  border-radius: var(--radius);
}
.language-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  flex: 1 1 auto;
  padding: 8px 12px;
  border-radius: var(--radius);
  background-color: #f0f0f0;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  margin: 0;
  box-sizing: border-box;
}

.language-switcher .language-btn.active {
  background-color: #1A73E8;
  color: #fff;
}

/* ---------- HLAVIČKA ---------- */
.header{
  position: relative;          /* ⇐ nutné pro absolutně centrovaný search  */
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;             /* na úzkém screenu se řádkuje */
}

/* ---------- SEARCH BAR (REMOVED OLD DEFINITION) ---------- */

/* ---------- https link---------- */
.preview-link-box {
  display: flex;
  flex-direction: row;
  gap: 4px;
  background-color: #f9f9f9;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0px;
  transition: background-color 0.2s;
  max-width: 100%;
  overflow: hidden; /* Skryj posuvníky - jako v iPhone/WhatsApp */
}

/* OG Image layout - responsivní velký obrázek nad textem */
.preview-link-box.og-layout {
  flex-direction: column;
  gap: 0px;
  max-width: 300px;
  border-radius: 12px;
  min-width: 0; /* Umožní flexu správně zmenšit prvek */
  align-items: center; /* Vycentruj všechny elementy */
  text-align: center; /* Vycentruj text */
}

.preview-link-box:hover {
  background-color: #f0f0f0;
}
.preview-link-box .preview-title {
  font-weight: bold;
  color: #222;
  width: auto;
  text-align: left;
  align-self: flex-start; /* Explicitní zarovnání vlevo */
}
.preview-link-box .preview-site {
  color: #999;
  text-align: left;
  align-self: flex-start; /* Explicitní zarovnání vlevo */
}

/* Malý obrázek (ikona) - původní layout */
.preview-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  image-rendering: auto;
  border-radius: 6px;
  margin-right: 12px;
  background-color: #f0f0f0;
}

/* Velký OG obrázek - responsivní layout */
.preview-img.og-image {
  width: 100%;
  max-width: calc(100% - 0px); /* Necháme 8px mezeru po stranách */
  height: 100%;
  object-fit: contain;
  margin: auto 0 auto 0;
  border-radius: 0px !important; /* Zrušíme zaoblení pro OG obrázky */
  background-color: #f8f9fa;
  display: block; /* Zajistí správné chování v kontejneru */
}

/* Malé ikony (favicon) - kompaktní layout */
.preview-img.small-icon {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
  margin: 0 8px 0 0;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Střední ikony (apple-touch-icon, větší ikony) */
.preview-img.icon-image {
  width: 45px;
  height: 45px;
  max-width: 45px;
  max-height: 45px;
  object-fit: contain;
  margin: 0 8px 0 0;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Layout pro malé ikony - horizontální */
.preview-link-box.icon-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 8px 12px;
  min-height: 36px;
}

.preview-meta {
  display: block !important;
  text-align: left !important;
  width: 100%;
}

/* Meta informace v OG layoutu - vycentrované */
.preview-link-box.og-layout .preview-meta {
  text-align: left;
  width: 100%;
  padding: 0px 0px;
  margin: 4px 19px 1px 35px;
}

/* Meta informace pro ikony - kompaktní */
.preview-link-box.icon-layout .preview-meta {
  flex: 1;
  display: block !important;
  text-align: left !important;
}

/* Responzivní úpravy pro preview obrázky */
@media (max-width: 480px) {
  .preview-img.og-image {
    max-height: 150px;
    max-width: calc(100% - 0px); /* Menší mezery na malých obrazovkách */
  }
  
  .preview-link-box.og-layout {
    gap: 6px;
  }
}

@media (max-width: 320px) {
  .preview-img.og-image {
    max-height: 120px;
    max-width: calc(100% - 0px); /* Ještě menší mezery na velmi malých obrazovkách */
  }
}


/* ---------- KOŘENOVÉ VARS ---------- */
:root {
  --glass-hue:           0deg;          /* jemný přechod ↓ (0 = čistě bílá) */
  --glass-sat:           0%;
  --glass-light:         100%;
  --glass-alpha:         .18;           /* základní průhlednost skla        */

  --glass-radius:        22px;
  --blur-strength:       18px;
  --brand:               #1A73E8;
}

/* ---------- KONTEJNER BARU ---------- */
.search-bar {
  position: relative;
  margin: 0px auto 0 10px;
  max-width: 380px;
  width: 90%;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;

/* Clean design removed glassmorphism */
/* Clean design */
  /* světlé sklo – gradient pro „hloubku“ */
  background: linear-gradient(
    135deg,
    hsla(var(--glass-hue) var(--glass-sat) calc(var(--glass-light) - 4%) var(--glass-alpha)) 0%,
    hsla(var(--glass-hue) var(--glass-sat) calc(var(--glass-light) - 12%) calc(var(--glass-alpha) + .08)) 100%);
  backdrop-filter: blur(var(--blur-strength)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-strength)) saturate(160%);
  box-shadow:
    0 14px 32px rgba(0,0,0,.12),          /* drop-shadow */
    inset 0 0 0 1px rgba(255,255,255,.35);/* jemný okraj */
   
}

/* ---------- INPUT : překryje se, ale je průhledný ---------- */
.search-bar input{
  flex: 1;
  padding: 14px 70px 14px 20px;
  background: #ffffff;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  outline: none;
  color: #333;
  font-weight: 400;
  z-index: 10;
  position: relative;
  box-shadow: none !important; /* zrušíme stín, který by se překrýval s lištou */
}

/* zruší modré/žluté zvýraznění auto-doplňování */
.search-bar input:-webkit-autofill,
.search-bar input:-webkit-autofill:hover,
.search-bar input:-webkit-autofill:focus {
  /* překreslí celé pole bílou barvou */
  box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;

  /* pokud používáš jinou barvu pozadí inputu, změň i tady */
  background-color: #ffffff !important;

  /* ponecháme text a caret ve tvé původní barvě */
  -webkit-text-fill-color: #333;
}
/* pro Firefox (ten sice nebarví, ale kdyby začal…) */
@supports selector(input:-moz-autofill) {
  .search-bar input:-moz-autofill {
    background-color: #ffffff !important;
    transition: background-color 0s;
  }
}

.search-bar input::placeholder{
  color: #999;
  font-style: italic;
}

/* focus styles handled above */
.search-bar input:focus{ 
  outline: none; 
  color: #333;
}

/* ---------- LUPA (také čisté sklo) ---------- */
.search-btn{
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #007bff;
  color: white;
  transition: all 0.3s ease;
  z-index: 20;
}

.search-btn:hover{
  background: #0056b3;
  transform: translateY(-50%) scale(1.1);
}

.search-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- KŘÍŽEK PRO VYMAZÁNÍ ---------- */
.clear-search-btn{
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: transparent;
  color: #666;
  transition: all 0.3s ease;
  z-index: 20;
}

.clear-search-btn:hover{
  background: rgba(102, 102, 102, 0.1);
  color: #333;
  transform: translateY(-50%) scale(1.1);
}

.search-bar:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

.search-bar:focus-within {
  border-color: #007bff;
  box-shadow: 0 6px 30px rgba(0, 123, 255, 0.2);
}

/* Responzivní úpravy pro search bar */
@media (max-width: 480px) {
  .search-bar {
    max-width: 95%;
  }
  
  .search-bar input{
    padding: 15px 60px 15px 16px;
    font-size: 16px;
    border-radius: 25px;
  }
  
  .clear-search-btn{
    right: 50px;
    width: 30px; 
    height: 30px;
  }
  
  .search-btn{
    right: 8px;
    width: 36px; 
    height: 36px;
  }
}

/* výchozí zmenšení na 80 % */
.taglines svg{transform:scale(1);}

/* na hover (nebo :focus-within lišty) se plynule vrátí
   na plnou velikost – nebo třeba ještě o kousek větší */
.search-bar:hover .search-btn svg,
.search-bar:focus-within .search-btn svg{
  transform:scale(1);          /* nebo 1.2 pro jemné „přiblížení“ */
  transition:transform .25s cubic-bezier(.4,0,.2,1);
}

/* Responsivita pro mobilní zařízení */
@media (max-width: 750px) {
    .header { flex-wrap:wrap; }  /* mobile zase může zalamovat */


/* SEARCH BAR – umístíme doprostřed „volného“ řádku */
.search-bar {
    max-width: 95%;
    margin: 15px auto;
}
}

@media (max-width: 670px) {
    .header { flex-wrap:wrap; }  /* mobile zase může zalamovat */

.logo-with-tagline img {
    height: 55px;
}
/* SEARCH BAR – umístíme doprostřed „volného“ řádku */
.search-bar {
    max-width: 95%;
    margin: 15px auto;
}
    h1 {
    font-size: 22px;
  }
.sms-body {
  position: relative;
  padding-right: 44px; /* prostor pro tlačítko */
  min-height: 20px;
}
.sms-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-right: 40px; /* Rezerva pro tlačítko */
  }

  .copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: none;
  }
.copy-btn:hover {
  background-color: rgba(26, 115, 232, 0.1);
  transform:scale(1.08); /* <= zachová zarovnání na střed */
}
  .sms-footer-center {
    flex-direction: column;
    text-align: center;
  }

  .sms-target {
    margin-left: 0;
  }
  
  input[type="tel"] {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 12px 12px;
  max-width: 100%;
}
.iti__selected-dial-code {
    font-size: 17px;
    font-weight: 500;
}
.iti__country-list {
  white-space: normal;
}

  .speech-bubble {
    display: block;
    margin: 10px auto 0;
    text-align: center;
  }

  .speech-bubble::after {
    display: none;
  }
 .menu-toggle {
    display: block;
  }
.container {
    width: unset;    /* nebo 900px, 70vw – podle potřeby */
}

    .phone {
    font-size:30px;
}
h2 {
    font-size: 18px;
}
    .pagination-container {
        flex-direction: column;
    }

    .pagination-info {
        margin-bottom: 10px;
    }

    .pagination-arrow,
    .pagination-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    .logo-with-tagline {
        flex-direction: column;
        align-items: center; /* Středí slogan pod logo */
    }

    .logo-with-tagline .tagline {
        font-size: 14px;
    }

.taglines {
  display: flex;
  flex-direction: column;  /* bubliny nad sebou */
}

    .footer-centered {
    font-size: 13px;
    padding: 12px 5px;
  }


    .header-actions {
      display: none; /* Skryté, dokud není otevřeno */
       position: fixed;
        top: 0;
        right: 0;
        background: #fff;
        border-left: 1px solid #e0e0e0;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.10);
        z-index: 4000;
        padding: 8px 18px 18px 18px;
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }

    .header-actions.open {
        display: flex;
    }

 #email-modal .phone-image-wrapper img {
    max-width: 160px;
    height: auto;
  }
}

/* Hlasovací tlačítka */
.vote-controls {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  align-items: center;
  justify-content: flex-end;
  float: right;
  clear: both;
}

.vote-btn {
  background: transparent;
  border: none;
  border-radius: 50%;
  padding: 1px 1px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #6c757d;
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(0.6);
  font-weight: normal;
}

.vote-btn svg {
  transition: inherit;
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.vote-btn:hover {
  filter: grayscale(0.2) opacity(0.9);
  transform: scale(1.08);
  background: rgba(102, 102, 102, 0.08) !important;
}

.vote-btn.active {
  filter: grayscale(0) opacity(1);
  color: #007bff;
  background: transparent;
  transform: scale(1.02);
}

.vote-score {
  font-size: 12px;
  font-weight: 400;
  color: #495057;
  min-width: 18px;
  text-align: center;
  margin: 0 2px;
}

/* Upravíme layout bubliny pro lepší umístění hlasování */
.bubble {
  position: relative;
}

.bubble .vote-controls {
  position: absolute;
  bottom: 4px;
  right: 12px;
  margin: 0;
  padding: 2px;
  border-radius: 16px;
  backdrop-filter: blur(2px);
}

.bubble .expiry-label {
  margin-bottom: 32px; /* Místo pro hlasovací tlačítka */
}

/* === ÚVODNÍ ANIMACE === */
.welcome-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 40px 0;
  animation: fadeIn 1s ease-in-out;
}

.animated-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  max-width: 700px;
  margin-bottom: 30px;
  line-height: 0.9;
}

.animated-words span {
  display: inline-block;
  font-weight: 700;
  animation: popIn 0.8s ease-out;
  animation-fill-mode: both;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.word-small {
  font-size: 1.1rem;
  color: #2f2f2f;
  animation-delay: 0.2s;
}

.word-medium {
  font-size: 1.8rem;
  color: #262626;
  animation-delay: 0.4s;
}

.word-large {
  font-size: 2.4rem;
  color: #272727;
  animation-delay: 0.6s;
  font-weight: 800;
}

.word-xlarge {
  font-size: 3rem;
  color: #9b9b9b;
  animation-delay: 0.8s;
  font-weight: 900;
  text-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
}

.loading-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1a73e8;
  animation: bounce 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.welcome-animation.fade-out {
  animation: fadeOut 0.8s ease-in-out forwards;
}

.search-bar.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

/* Responsivní úpravy pro menší obrazovky */
@media (max-width: 768px) {
  .animated-words {
    gap: 6px 12px;
    max-width: 90%;
  }
  
  .word-small {
    font-size: 0.9rem;
  }
  
  .word-medium {
    font-size: 1.3rem;
  }
  
  .word-large {
    font-size: 1.7rem;
  }
  
  .word-xlarge {
    font-size: 2.2rem;
  }
}