#chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: Arial, sans-serif;
  z-index: 9999;
}

#chatbot-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #1A1A1A;
  color: #F1F1F1;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* MASKOT */
#chatbot-maskot {
  position: fixed;
  top: 50%;
  right: 0;
  width: 364px;
  z-index: 9999;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(-50%);
}

#chatbot-maskot.hide {
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
}

#chatbot-maskot.fly-to-toggle {
  transition: transform 0.7s cubic-bezier(0.4,1.6,0.4,1), opacity 0.5s;
  transform: translateY(calc(50vh - 100%)) scale(0.1) translateX(100vw);
  opacity: 0;
}

/* Tohle bude fungovat jen na mobilních zařízeních (do 600px) */
@media (max-width: 600px) {
  #chatbot-maskot {
    top: 50%;
    right: 0;
    width: 336px;
    transform: translateY(-50%);
  }

  #chatbot-toggle {
    bottom: 90px;
  }
}


#chatbot-box {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background-color: #0F0F0F;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 15px;
  color: #F1F1F1;
}

#chatbot-box h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.chatbot-button {
  display: block;
  margin: 8px 0;
  padding: 10px;
  background-color: #1A1A1A;
  color: #F1F1F1;
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.3s;
}

.chatbot-button:hover {
  background-color: #333;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  background-color: #1A1A1A;
  color: #F1F1F1;
  border: 1px solid #444;
  padding: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.faq-answer {
  display: none;
  background-color: #0F0F0F;
  color: #F1F1F1;
  padding: 10px;
  border-left: 3px solid #555;
  margin-top: 5px;
  border-radius: 5px;
}

.faq-answer a {
  color: #F1F1F1;
  text-decoration: underline;
}

.faq-answer ul {
  list-style-type: none;
  margin-top: 10px;
  padding-left: 0;
}

.faq-answer li {
  margin-bottom: 6px;
}

.chatbot-maskot.show {
  opacity: 1;
  transform: translateX(0);
  
}
/* CSS pro gify na tvary obliceje */
.face-gif {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Specifické styly pro každý typ */

.gif-oval,
.gif-kulaty,
.gif-hranaty {
  width: 120px;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  z-index: 9999;
  display: block;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}


/* Responzivní změna uspořádání na mobilu */
@media (max-width: 600px) {
  #face-overlay > div {
    flex-direction: column;
    align-items: center;
  }

  .gif-oval,
  .gif-kulaty,
  .gif-hranaty {
    width: 80px;
    margin-bottom: 10px;
  }
}



/* Nepoužité/rezervované, můžeš případně využít později */
@keyframes slideIn {
  to {
    right: 20px;
  }
  
}

/* Overlay horní lišta s tlačítky */
.face-overlay-close-btn, .face-overlay-info-btn {
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  margin-left: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s;
}
.face-overlay-close-btn:hover, .face-overlay-info-btn:hover {
  background: #444;
}

/* Info modal overlay */
.face-info-overlay {
  z-index: 11000 !important;
}
.face-info-box {
  background: #181818;
  color: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 30px 20px 20px 20px;
  position: relative;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  text-align: left;
}
.face-info-close-btn {
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  transition: background 0.2s;
}
.face-info-close-btn:hover {
  background: #444;
}
.face-info-katalog-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #1A1A1A;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.face-info-katalog-btn:hover {
  background: #333;
}

@media (max-width: 600px) {
  .face-info-box {
    max-width: 95vw;
    padding: 18px 6vw 18px 6vw;
    font-size: 15px;
  }
  .face-overlay-close-btn, .face-overlay-info-btn {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
}

/* Ceníkový info bar (modal) */
.cenik-info-box {
  max-width: 700px;
  width: 100%;
  background: #181818;
  color: #fff;
  border-radius: 12px;
  padding: 30px 20px 20px 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  overflow-y: auto;
  max-height: 90vh;
}
.selector-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.selector {
  display: flex;
  align-items: center;
  margin: 10px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.selector label {
  font-size: 20px;
  margin-right: 15px;
  text-align: center;
  width: 100%;
}
.selector button {
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 12px;
  background-color: #2A2A2A;
  color: white;
  margin: 5px;
  cursor: pointer;
  border: 1px solid transparent;
}
.selector button.active {
  background-color: #3F3F3F;
}
.branch-kacerov.active { border-color: #F8E020; }
.branch-modrany.active { border-color: #D8232A; }
.branch-strasnice.active { border-color: #0090F9; }
.selected-branch, #cenik-selected-branch {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: #B0B0B0;
}
.beauty-warning, #cenik-beauty-warning {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: #B0B0B0;
  display: none;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
  margin-bottom: 20px;
}
.pricing-table th, .pricing-table td {
  padding: 15px;
}
.pricing-table th {
  font-size: 20px;
  text-align: left;
  color: #B0B0B0;
}
.pricing-table td {
  text-align: left;
}
.pricing-table .price-header {
  text-align: right;
}
.pricing-table .price {
  text-align: right;
  color: #B0B0B0;
}
.pricing-table tbody tr:hover {
  background-color: #202020;
  border-radius: 15px;
}
.pricing-table thead tr:hover {
  background-color: transparent;
}
.tooltip-icon {
  margin-left: 5px;
  font-size: 14px;
  color: #F46C20;
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.tooltip {
  display: none;
  background-color: #2C2421;
  color: #F46C20;
  border-radius: 8px;
  font-size: 12px;
  padding: 10px 15px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: 300px;
  text-align: center;
  white-space: normal;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tooltip-icon:hover .tooltip,
.tooltip-icon:focus .tooltip {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .cenik-info-box {
    max-width: 98vw;
    padding: 18px 2vw 18px 2vw;
    font-size: 15px;
  }
  .selector label {
    font-size: 16px;
    margin-right: 10px;
  }
  .selector button {
    font-size: 16px;
    padding: 6px 10px;
    margin-right: 5px;
  }
  .pricing-table th, .pricing-table td {
    padding: 10px;
  }
  .pricing-table th {
    font-size: 16px;
  }
  .pricing-table .price-header {
    text-align: right;
  }
}
.haircut-img {
  width: 100%;
  max-width: 140px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  margin-bottom: 5px;
  display: block;
}
@media (max-width: 900px) {
  .haircut-img { max-width: 110px; }
}
@media (max-width: 600px) {
  .haircut-img { max-width: 90px; }
}
@media (max-width: 400px) {
  .haircut-img { max-width: 70px; }
}
/* Kontejner pro účesy (flex wrap) je nastaven v JS na wrapper, není potřeba extra třída */

#face-shape-modal.face-info-overlay {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  z-index: 99999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
#face-shape-modal .face-info-box {
  background: #181818;
  color: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 38px 20px 20px 20px;
  position: relative;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#face-shape-modal .face-info-close-btn {
  background: #232323;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  top: 2px;
  right: 15px;
  transition: background 0.2s;
  z-index: 2;
}
#face-shape-modal .face-info-close-btn:hover {
  background: #444;
}
@media (max-width: 600px) {
  #face-shape-modal .face-info-box {
    max-width: 95vw;
    padding: 18px 6vw 18px 6vw;
    font-size: 15px;
  }
  #face-shape-modal .face-info-close-btn {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
}

#video, #canvas {
  display: block;
  margin: 20px auto;
  border-radius: 20px;
  max-width: 90vw;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  max-height: 70vh;
  background: #000;
  padding: 0;
}
@media (max-width: 600px) {
  #video, #canvas {
    max-width: 98vw;
    margin: 10px auto;
    border-radius: 16px;
  }
}
@media (max-width: 400px) {
  #video, #canvas {
    max-width: 100vw;
    margin: 5px auto;
    border-radius: 12px;
  }
}
