@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,300;0,400;0,500;0,700;1,400&family=Manrope:wght@300;400;500;700&display=swap');

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html, body {
    overscroll-behavior: none; /* Disable scroll chaining and overscroll effects */
    touch-action: pan-y; /* Allow vertical scrolling but disable other gestures */
}

iframe {
    overscroll-behavior: none; /* Prevent bouncing inside iframes */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */

    background: black;

    /*font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
    font-family: 'Barlow', sans-serif;*/
    font-family: "Poppins", serif;
    font-style: normal;
    font-size:12px;
    height:100vh;
    margin:0px;
    padding:0px;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    width:100%;
    overflow: scroll;

    color: white;
}

#titleMain {
    text-transform: uppercase;
}

.versionLabel {
    position: absolute;
    bottom: 25px;
    right: 25px;
    color: lightgray;
}

.back-o-title {
    color: white;
}

div.page-top {
    border-bottom: 1px solid gray;
}

div.self-view {
    /*display: flex;*/
    flex-direction: row;
    align-items: center;
}

div#permissions-help {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 2em;
    max-width: 300px;
}

div#permissions-help > img {
    margin-bottom: 0.5em;
}

input.conference-passcode {
    width: 320px;
    margin-right: 1em;
}

span.conference-connected {
    font-weight: bold;
    width: 320px;
    margin-right: 1em;
}

section#participants {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    align-items: flex-start;
}

section#participants > h4 {
    align-self: stretch;
    width: 100%;
}

section#participants > div > video {
    width: 100%;
    margin: 0.25em;
}

div.conference-banner-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-left: -25%;
}

div.conference-banner {
    display: flex;
    flex-direction: row;
    max-width: 75%;
}

div.conference-banner > img {
    align-self: center;
}

div.conference-banner > div {
    flex-direction: column;
    margin-left: 2em;
}

div.conference-banner > div > svg {
    margin-top: 1em;
}

div.conference-banner > div > h1 {
    font-weight: normal;
    font-size: 28px;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

div.conference-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #121c2d;
    padding: 50px 0;
    margin-top: 2rem;
}

.topLogo {
    background: transparent;
    padding: 4vh 4vh;
    width: fit-content !important;
    margin: 0 auto;
    margin-bottom: 6vh;
}

.timer-contain {
    color: white;
}

.adminPomocno {
    top: 0;
    left: 0;
    width: 100px;
    height: 50px;
    background: transparent;
    color: transparent;
    border: transparent;
    margin: 0;
    padding: 0;
}

#timerSec {
    font-weight: 800;
}

.logo {
    width: 50vw;
}

.center-middle {
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.mb-custom {
    margin-bottom: 5rem !IMPORTANT;
}

video {
    height: 45vh;
    width: 100vw;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0s;
}

.circle {
    width: 50vw;
    height: 50vw;
    font-size: 4em;
    color: white;
    background: #0096FF;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    text-align: center;
    flex-direction: column;
    display: flex;
    margin: 0 auto;
}

.circle-intercom {
    width: 40vw;
    height: 40vw;
    font-size: 4em;
    color: white;
    background: #35a9e1;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    text-align: center;
    display: flex;
    margin: 0 auto;
    border: 2px solid white;
    line-height: 3vh;
    flex-direction: column;
}

.textInCircle {
    font-size: 1.9rem;
    line-height: 28px;
    font-weight: 600;
}

span.subTextCircle {
    font-size: 1.3rem;
}

.languageChoose {
    right: 3vw;
    top: 2vw;
}

.circle-intercom img {
    height: 13vh;
    margin-bottom: 2vh;
}

.intercom-button {
    /*box-shadow: -1px 16px 31px -12px white;*/
    border: 4px solid white;
}

p.intercomOnly {
    margin-top: 16px;
    font-style: italic;
    font-weight: 300;
    line-height: 29px;
    text-align: center;
    color: #FFFFFF;
    border: 1px solid #000000;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

p.intercomOnly {
    font-size: 2vh;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }
    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

@media all and (orientation:landscape) {
    .desniDeo {
        width: 35vw;
        display: inline-block;
    }

    .leviDeo {
        width: 40vw;
        display: inline-block;
        vertical-align: middle;
        margin-right: 6vw;
    }

    .circle {
        width: 30vw;
        height: 30vw;
        font-size: 3.3em;
    }

    .custom-image {
        top: 60px !important;
    }

    .hal-core, .pulse {
        top: 100% !important;
    }
}

/* INTERCOM */
#chooseTenantScreen {
    height: 100vh;
    overflow-y: scroll;
    width: 100%;
}

table.dataTable {
    background: white;
    padding: 10px;
    border-radius: 15px;
}

#tableGuests_filter {
    color: white;
    margin-bottom: 25px;
    margin-top: 25px;
    text-align: left;
    width: 100%;
}

#tableGuests_filter label {
    display: block;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid white;
    width: 100%;
}

#timerIntercom {
    float: right;
    font-weight: bold;
}

.hal-container {
    position: relative;
    width: 20vw;
    height: 20vh;
    margin: auto; /* centriranje */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-image {
    position: absolute;
    /* top: -50px; */ /* podešavanje visine slike iznad HAL kruga */
    left: 50%;
    transform: translateX(-50%);
    width: 5vw;
    height: auto;
    z-index: 2; /* slika iznad HAL jezgra */
}

.hal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10vw;
    height: 10vw;
    background: radial-gradient(circle, #ff0000 20%, #8b0000 60%, #000 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px 10px #ff0000;
    z-index: 1;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20vw;
    height: 20vw;
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 0;
}

.hal-core-blue {
    background: radial-gradient(circle, #4a90e2 20%, #002f6c 60%, #000 100%);
    box-shadow: 0 0 30px 10px #4a90e2;
}

.pulse-blue {
    background: rgba(74, 144, 226, 0.2);
    border: 2px solid rgba(74, 144, 226, 0.8);
}

.hal-core-green {
    background: radial-gradient(circle, #4caf50 20%, #1b5e20 60%, #000 100%);
    box-shadow: 0 0 30px 10px #4caf50;
}

.pulse-green {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.8);
}

.pulse:nth-child(3) {
    animation-delay: 1s;
}

/* KONE INTERFACE */
#koneInterface {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#koneInterface iframe {
    width: 100vw;
    height: 100vh;
}

#koneTimerDisplay {
    position: absolute;
    top: 10px;
    left: 80px;
    background-color: rgba(128, 128, 128, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.6rem;
}

#koneCloseButton {
    position: absolute;
    top: 10px;
    left: 20px;
    background-color: rgba(128, 128, 128, 0.5);
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 99999999999;
    font-size: 1.6rem;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

#assistantPopup {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, red, #ed392c);
    animation: pulseAssistant 1s infinite;
    display: none;
    z-index: 9999;
}

/* KIOSK STATE OVERLAYS */
#kioskOverlay {
    display: flex;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 1.0);
    z-index: 99999;
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 5vw;
}

#kioskOverlayLogo {
    width: 50vw;
    height: auto;
    margin-bottom: 30px;
}

#kioskOverlayMessage {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

#kioskOverlayButton {
    padding: 10px 20px;
    font-size: 1.2rem;
    display: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* From Uiverse.io by xXJollyHAKERXx */ 
.spinner {
    background-image: linear-gradient(rgb(255, 0, 0) 35%,rgb(255, 250, 255));
    width: 100px;
    height: 100px;
    animation: spinning82341 1.7s linear infinite;
    text-align: center;
    border-radius: 50px;
    filter: blur(1px);
    box-shadow: 0px -5px 20px 0px rgb(255, 0, 0), 0px 5px 20px 0px rgb(255, 250, 255);
    margin: 0 auto;
  }
  
  .spinner1 {
    background-color: rgb(36, 36, 36);
    width: 100px;
    height: 100px;
    border-radius: 50px;
    filter: blur(10px);
  }
  
  @keyframes spinning82341 {
    to {
      transform: rotate(360deg);
    }
  }

@keyframes pulseAssistant {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}