.popup{
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow-y: auto;
  z-index: 10;
}
#listing_ticket.popup.open {
	display: flex;
	justify-content: center;
	align-items: center;
}
.popup.open {display: block;}

.popup__overlay {
position: fixed;
left: 0;
top: 0;
background: rgba(0,0,0,0.8);
width: 100vw;
height: 100vh;
}

.popup__body {
position: relative;
box-sizing: border-box;
min-width: 350px;
min-height: 480px;
margin: 150px auto 0;
padding: 20px;
border-radius: 10px;
background: #fbfbfb;
box-shadow: 0 0 20px rgba(0,0,0,0.4);
}


.popup_actions {
  font-size: var(--large);
  color: var(--text-color);
  position: absolute;
  top: -0.7em;
  right: 0;
}

.popup_actions > i {
  padding: 5px;
  border-radius: 3px;
  box-shadow: 0 0 5px black;
}
.popup_actions > i:hover {cursor: pointer;}
.popup_actions > i.iddle:hover {cursor: not-allowed;}
.popup_actions > i:active { box-shadow: 0 0 2px black; }

th.required::after {
  content: "*";
  color: var(--red);
}

.popup label {
  font-weight: bold;
  display: block;
  padding: 20px 0 5px 0;
}

.popup input:not([type='radio']), .popup input:not([type='radio']):focus-visible{
  outline: none;
  width: 100%;
  padding: 7px 0 4px 0;
  border: none;
  border-bottom: solid 1px var(--dark-gray);
}
.popup p {
	padding: 10px 0;
}

/*====Checkin====*/
#checkin .popup__body{
  width: 350px;
}
#checkin__results {
  max-height: 270px;
  overflow: auto;
}
#checkin__results li p {
	line-height: 1;
	font-size: var(--small);
}
#checkin__results li {
	padding: 10px;
	border-bottom: 1px solid var(--dark-gray);
}
  #checkin__results li:nth-child(2n+1) {background: var(--gray-bg);}

#request .popup__body {
  max-width: 500px;
  width: 80vw;
}

#qr_codes .popup__body {
	max-width: 500px;
}
/*=====login====*/
#login {
	display: block;
	width: 330px;
	max-width: 90vw;
	background: var(--bg-color);
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.4);
	padding: 20px;
	position: fixed;
	top: 50%;
  right: 100%;
  opacity: 0;
  transition: right 0.8s, opacity 0.2s, transform 0.2s;
  transform: translate(0,-50%);
}
#login.open{
  right:50%;
  opacity: 1;
  transform: translate(50%,-50%);
  transition:  opacity 0.8s, transform 0.8s;
}
#login label {
	display: block;
	padding: 10px 0 5px 0;
}
#login input:not([type='checkbox']) {
	border: solid 1px var(--border-color);
	border-radius: 2px;
	padding: 5px;
	width: 100%;
}
#login .submit-btn {
	text-align: center;
	display: block;
	padding: 10px 20px;
	margin: 20px auto;
	width: 94%;
}

.popup .passenger_list td > input, .popup .passenger_list td > select, .popup .passenger_list td > textarea {
	display: inline-block;
	border: none;
	padding: 10px;
	height: 45px;
	width: 100%;
	overflow-y: auto;
	margin: 0;
	font-size: var(--small);
	background: transparent;
}