#sr-vw #sr-carousel__slides-container {
  align-items: center !important;
}

#sr-vw #sr-carousel .sr-carousel-slide {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  flex: 0 0 40% !important;
}

#sr-vw #sr-carousel .sr-carousel-slide img {
  width: auto !important;
  max-height: 100px !important;
  height: auto !important;
  object-fit: contain !important;
  background-color: #fff !important;
  margin-bottom: -40px !important;
  display: block !important;
}

#sr-vw #sr-carousel .sr-carousel-slide__buttons {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  align-items: center !important;
}

#sr-vw #sr-carousel .sr-carousel-slide__buttons button {
  width: 100% !important;
  max-width: 160px !important;
  padding: 4px !important;
  font-weight: normal !important;
  font-size: 10px !important;
  border-radius: 6px !important;
}

#sr-vw .sr-carousel-slide__content{
  padding: 0px !important;
}

#sr-vw #sr-carousel .sr-carousel-slide img {
  width: 100% !important;
  height: 60px !important;
  margin: auto !important;
}


#sr-vw #sr-widget-container #sr-widget-footer {
  background-color: rgba(39, 39, 39, 0.5);
}


#sr-content-wrapper #sr-list-choices .sr-choice-li button {
  padding: 6px 10px;
}


#sr-vw #sr-carousel-snaps {
  display: none;
}

/* Footer image custom */
#sr-vw #sr-powered-by__link img {
  content: url(https://cdn.smartrep.gr/sr-speedex/videobot/smartrep.png) !important;
}

/* Free text send button + input */
#sr-vw form#sr-freetext-form button {
  right: 0px !important;
}

#sr-freetext-form__input {
  width: 100% !important;
  padding: 6px 12px !important;
  margin-bottom: -2px !important;
}

#sr-vw #sr-carousel .sr-carousel-slide h1,
#sr-vw #sr-carousel .sr-carousel-slide .sr-carousel-title {
  text-align: center;
  white-space: nowrap;
  font-size: 16px;
  font-weight: bold;
}

/* DatePicker css */

#sr-datepicker-form .rdp-caption {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
  padding: 0 !important;
}

#sr-widget-datepicker .rdp-table {
  max-width: 100% !important;
  width: 100% !important;
  table-layout: fixed !important;
  margin: 0 auto !important;
}

#sr-vw #sr-widget-datepicker .sr-datepicker-form .rdp-root {
  padding-right: 30px !important;
}

#sr-widget-html-container {
  /* position: absolute !important;
  top: -290px !important; */
  left: 0 !important;
}

#sr-vw #sr-carousel .sr-carousel-slide > div {
  flex-direction: column !important;
  width: 100% !important;
}

#sr-vw #sr-carousel .sr-carousel-slide .sr-carousel-slide__buttons button {
  width: 80% !important;
}

@media (max-width: 768px) {
  #sr-widget-html-container{
    top: -400px !important;
  }
}

#sr-vw #sr-carousel .sr-carousel-slide:first-of-type img {
  display: none !important;
}

#sr-vw .existing-carousel #sr-carousel .sr-carousel-slide:first-of-type img {
  display: block !important;
}

#sr-vw
  #sr-carousel
  .sr-carousel-slide:first-of-type
  .sr-carousel-slide__buttons
  button {
  position: relative !important;
  top: -8.5px !important;
}

/* Toggle for brand grid */

.brand-toggle-wrapper
  input[type="checkbox"]:checked
  + .dropdown-button
  + .brand-grid {
  display: grid !important;
}

.dropdown-button:hover {
  background-color: #333 !important;
}

.scroll-hint {
  text-align: center;
  color: #fff;
  font-size: 12px;
  margin-top: 5px;
  animation: bounce 1.2s infinite;
  opacity: 1;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.rdp-root {
  --rdp-day_button-height: 24px !important;
  --rdp-day_button-width: 24px !important;
  --rdp-day-height: 30px !important;
  --rdp-day-width: 44px !important;
}

#sr-vw #sr-powered-by {
  font-size: 16px !important;
  line-height: 26px !important;
}

#sr-vw #sr-powered-by__link img {
  width:90px !important;
}

/* Toggle info */
#sr-vw .info-toggle-wrapper input[type="checkbox"] {
  display: none;
}

#sr-vw .info-toggle-wrapper .dropdown-button {
  cursor: pointer;
  color: #00bfff;
  font-weight: bold;
}


#sr-vw .info-toggle-wrapper .info-content {
  display: none;
  margin-top: 0.5em;
}

#sr-vw .info-toggle-wrapper .info-content2 {
  display: block;
  margin-top: 0.5em;
}

.info-content2{
  width: 90% !important;
}

#sr-vw .info-toggle-wrapper input[type="checkbox"]:checked ~ .info-content {
  display: block;
}






#sr-widget-html-container table {
  width: 100% !important;
  border-collapse: collapse;
  margin-top: 10px;
}

#sr-widget-html-container td {
  padding: 1px;
  font-size: 12px;
  color: #fff;
}


.brand-table-wrapper {
  overflow-x: auto;
  margin: 1px 0;
  padding-bottom: 8px;
  max-width: 100%;
}

.brand-table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}

.brand-table td {
  padding: 4px;
  font-size: 10px;
  color: #fff;
  white-space: nowrap;
}

.brand-table td .brand-box {
  background-color: #333;
  padding: 1px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 40px;
}

.brand-table-wrapper::-webkit-scrollbar {
  height: 6px;
}
.brand-table-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.brand-table-wrapper::-webkit-scrollbar-track {
  background: #333;
}


#sr-vw #sr-captions{
  background-color: rgb(25,155,216) !important;
  position: relative !important;
  /* top: -90px !important; */
  font-size: 24px !important;
  padding: 10px !important;
  line-height: 1.5 !important;
}








#sr-vw .content-toggle-wrapper input[type="checkbox"]:not(:checked) ~ .content-wrapper3 {
  display: none !important;
}

#sr-vw .content-close-button {
  position: absolute;
  top: 4px;
  right: 6px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

#sr-vw #sr-close-btn-wrapper__btn{
  display: none !important;
}
#sr-vw #sr-play-failed__text {
  transform: translateY(100px);
}

#sr-vw #sr-widget-welcome {
  bottom: 7%;
}

/* Remove minimized overlay */
#sr-vw #sr-widget-closed-wrapper.sr-overlay:after {
  /* background-image: none!important; */
}
/* Remove minimized overlay */

@media screen and (max-width: 480px) {
  #sr-vw #sr-play-failed__text {
    transform: translateY(20vh);
  }

  #sr-vw #sr-widget-welcome {
    font-size: 11px;
    line-height: 14px;
  }
}

#sr-vw #sr-freetext-form__input.sr_inputField_style {
    width: calc(100% - 30px) !important; 
    padding-right: 10px !important;
}

/* Force spin buttons to always show */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1 !important;   /* make them always visible */
  -webkit-appearance: inner-spin-button !important;
  display: inline-block;
}


/* Website overwrites */

#sr-vw button {
  font-size: 12px !important;
}

#sr-vw #sr-widget-container {
  z-index: 1000;
}

#sr-vw .rdp-weeks{
  font-weight: bold !important;
}

#sr-vw svg {
  fill: currentColor;
  stroke: currentColor;
}
 
#sr-vw #sr-play-failed__btn svg {
  fill: none;
  stroke: currentColor;
}
 
/* Website overwrites */


/* Info Tab */

/* Wrapper */
#sr-vw .info-slider-wrapper2 {
  position: absolute !important;
  top: -270px !important;    /* <-- ανέβα το κουμπί όσο θες */
  left: -13px !important;
  z-index: 0 !important;
}

/* Όταν το checkbox μέσα του είναι checked */
#sr-vw .info-slider-wrapper2:has(input[type="checkbox"]:checked) {
  z-index: 1000 !important;
}

@media (max-width: 768px) {
  #sr-vw .info-slider-wrapper2 {
    top: -400px !important;
  }
}

/* Tab button */
#sr-vw .info-slider-tab2 {
  position: relative !important;
  background-color: #0679be !important;
  color: white !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.3s ease !important;
}

/* Arrow indicator */
#sr-vw .info-slider-tab2::after {
  content: "▼" !important;
  font-size: 10px !important;
  transition: transform 0.3s ease !important;
}

/* Hover */
#sr-vw .info-slider-tab2:hover {
  background-color: #6aad20 !important;
}

/* When checked, arrow flips */
#sr-vw .info-slider-wrapper2 input[type="checkbox"]:checked + .info-slider-tab2::after {
  transform: rotate(180deg) !important;
}

/* Panel styling */
#sr-vw .info-slider-panel2 {
  background-color: rgba(255, 255, 230, 1) !important;
  color: black !important;
  padding: 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  /* margin-top: 8px !important; */
  max-width: 260px !important;
  transform: scaleY(0) !important;
  transform-origin: top !important;
  transition: transform 0.3s ease !important;
  overflow: hidden !important;
  

    /* ✅ Προσθήκες για wrap */
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Show panel when checked */
#sr-vw .info-slider-wrapper2 input[type="checkbox"]:checked ~ .info-slider-panel2 {
  transform: scaleY(1) !important;
}


.sr-select-container {
  z-index: 1 !important;
}

/* Fullscreen videobot */
#sr-vw,
#sr-vw #sr-widget-container {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 9999 !important;
}

#sr-vw #sr-widget {
  width: 100% !important;
  height: 100% !important;
}

#sr-vw video,
#sr-vw iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


/* Website overwrites */
 
#sr-vw svg {
  fill: currentColor;
  stroke: currentColor;
}
 
#sr-vw #sr-play-failed__btn svg {
  fill: none;
  stroke: currentColor;
}
 
/* Website overwrites */


#sr-vw .sr-video-player {
  transform: translateY(11%) translateZ(0px) !important;
}

#sr-vw #sr-logo{
  padding: 5px !important;
}

#sr-vw #sr-controls-wrapper{
  top: 20% !important;
}

/* Portrait 9:16 layout for large vertical screens */
@media screen and (min-width: 768px) and (orientation: portrait) {
  /* Center widget in full-screen and enforce 9:16 ratio (1080x1920 style) */
  #sr-vw #sr-widget-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
  }

  #sr-vw #sr-widget {
    position: relative !important;
    aspect-ratio: 9 / 16 !important;
    height: min(100vh - 48px, calc((100vw - 48px) * 16 / 9)) !important;
    max-height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
  }

  #sr-vw video,
  #sr-vw iframe {
    border-radius: 24px !important;
  }

  #sr-vw #sr-controls-wrapper{
    position: absolute !important;
    top: 30% !important;
    right: 16px !important;
    transform: none !important;
    gap: 12px !important;
  }

  #sr-vw #sr-controls-wrapper button {
    width: 120px !important;
    height: 120px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #sr-vw #sr-controls-wrapper svg {
    width: 56px !important;
    height: 56px !important;
  }
  
  /* Bigger captions for kiosk-style vertical screens */
  #sr-vw #sr-captions {
    font-size: 41px !important;
    padding: 22px 28px !important;
  }

  /* Upscale buttons and choices */
  #sr-vw button {
    font-size: 20px !important;
    padding: 14px 22px !important;
  }

  #sr-content-wrapper #sr-list-choices .sr-choice-li button {
    font-size: 26px !important;
    padding: 22px 32px !important;
    min-height: 72px !important;
  }

  /* Larger free text input */
  #sr-freetext-form__input,
  #sr-vw #sr-freetext-form__input.sr_inputField_style {
    font-size: 32px !important;
    padding: 22px 32px !important;
  }

  /* Much larger send button (paper plane) */
  #sr-vw form#sr-freetext-form button {
    width: 110px !important;
    height: 110px !important;
  }

  #sr-vw form#sr-freetext-form button svg {
    width: 60px !important;
    height: 60px !important;
  }

  /* Scale main titles in carousel */
  #sr-vw #sr-carousel .sr-carousel-slide h1,
  #sr-vw #sr-carousel .sr-carousel-slide .sr-carousel-title {
    font-size: 20px !important;
  }

  /* Bigger welcome bubble ("Press here") and its speaker icon */
  #sr-vw #sr-widget-welcome {
    font-size: 22px !important;
    line-height: 1.3 !important;
    padding: 16px 24px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  #sr-vw #sr-widget-welcome svg {
    width: 40px !important;
    height: 40px !important;
  }

  /* Huge play-failed button (speaker + text) */
  #sr-vw #sr-play-failed__btn {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 260px !important;
    padding: 24px 32px !important;
    border-radius: 999px !important;
    gap: 14px !important;
    font-size: 24px !important;
  }

  #sr-vw #sr-play-failed__btn svg {
    width: 72px !important;
    height: 72px !important;
  }

  #sr-vw #sr-play-failed__text {
    font-size: 28px !important;
  }
}