
/* Dim the background when the popup is open */
#login-popup-container {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Show when active */
.popup-overlay.active,
#login-popup-container.active {
    display: flex;
}

.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #37393b;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    z-index: 1000;
    width: 90%; 
    max-width: 600px;;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.talk-header{
    width: 100%;
    background-color: black;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}

.escape-login {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 2rem;
}

.escape-login h1 {
    font-size: 27px;
    font-weight: 300;
    color: var(--font-color);
    margin: 0;
    padding: 0;
}

.close-popup {
    display: flex;
    margin: auto 2em;
    cursor: pointer;
}

.find-barcode {
    margin: 1em;
}

form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.barcode-image{
    width: 40%;
    min-width: 10rem;
    max-width: 20rem;
    height: 100%;
    object-fit: cover;
}


.right-side {
    width: -moz-fit-content;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em;
    gap: 2em;
}

#ticket-input {
    width: 100%;
    font-size: large;
    border: none;
    border-radius: 12px;
    background-color: #1b1b1b;
    color:white;
    outline: none;
}

.right-side input{
    height: 3em;
    padding-left: .5em;
    padding-right: .5em;
    
}

.login-butn{
    width: 100%;
    margin-top: 0;
    /* margin-left: 1rem; */
    margin-bottom: 0;
}

.login-butn:hover {
    background-color: darkred;
  }

#or {
    margin: 0;
    padding: 0;
    height: 2rem;
    text-align: center;
    font-size: larger;
}

#bbdLogin {
    width: 13rem;
    margin: 0;
}

#bbdLogin:hover {
    background-color: darkred;
  }

.note {
    margin: 1em 2em 2em;
    padding: 0 1em;
    font-size: 14px;
    font-style: italic;
    color: rgb(228, 226, 226);
    text-align: center;
}
