.et_password_protected_form {
	min-height: initial;
	padding: 100px;
	max-width: 700px;
	margin: auto;
}

.et_password_protected_form p input {
	background: #fff;
}

.et_password_protected_form .et_submit_button {
	background: #2559E5;
	color: white!important;
	border: 2px solid #2559E5;
}

.et_password_protected_form .et_submit_button:hover {
	background: transparent;
	color: #2559E5 !important;
}

.et_password_protected_form .et_submit_button:after {
	content: unset;
}

form#selfCheckin {
    margin-bottom: 15px;
}

form#selfCheckin * {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
}

form#selfCheckin .input-wrap {
    position: relative;
    overflow: hidden;
}

form#selfCheckin input#phone {
    width: 100%;
    padding: 15px 65px 15px 25px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 18px;
}

#selfCheckin div.error {
    font-size: 16px;
    color: #F44336;
    font-style: italic;
}

#selfCheckin .getBookingBtn {
	 width: 50%;
    padding: 10px;
    background-color: #2559E5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    margin-top: 25px;
    font-size: 18px;
    font-weight: 500;
	cursor: pointer;
}

#selfCheckin .getBookingBtn:hover {
	background-color: #0045ff;
}

#selfCheckin .getBookingBtn.loading {
	background-color: #0045ff; /* Slightly darker green for loading state */
	cursor: not-allowed;
}

#selfCheckin .spinner {
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid white;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

div#resultsMessage {
    margin-bottom: 10px;
}

.results-wrap {
	position: relative;
}

div#resultsList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow: auto;
	position: relative;
}

.card {
    display: block;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px 15px;
	font-size: 18px;
}

.card div > span:first-child {
    font-weight: bold;
}

.card .checkin-wrap {
	margin-top: 15px;
	width: 100%;
	float: left;
}

button.selfCheckinBtn {
    font-size: 18px;
    padding: 8px 30px;
    float: right;
    border: 1px solid #2559E5;
    background: #2559E5;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

button.selfCheckinBtn:hover {
	border: 1px solid #2559E5;
    color: #2559E5;
	background: #fff;
	
}

button.selfCheckinBtn.success {
    border-color: #70B063;
    background: #70B063;
	cursor: not-allowed;
}

button.selfCheckinBtn.success:hover {
    background: #fff;
    color: #70B063;
}

button.selfCheckinBtn.disable-checkin {
    cursor: not-allowed;
	border-color: #f44336;
    background: #f44336;
}

button.selfCheckinBtn.disable-checkin:hover {
    background: #fff;
    color: #f44336;
}

.self-checkin-message {
    float: right;
    display: block;
    width: 100%;
    text-align: right;
	font-size: 0.9em;
    margin-top: 5px;
	font-style: italic;
}

/* Loading Screen Styles */
.loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000004f;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    border-radius: 5px;
}

.spinner {
	border: 8px solid #f3f3f3; /* Light gray border */
	border-top: 8px solid #2559E5; /* Blue border for spinner */
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}


.clear-input {
    border: 1px solid transparent;
    vertical-align: middle;
    outline: 0;
    cursor: pointer;
    position: absolute;
    right: 1px;
    top: 1px;
    height: calc(100% - 2px);
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F5F8;
    border-radius: 0px 5px 5px 0px;
    transition: 300ms all;
}

.clear-input:after {
    content: '\271A';
    margin: auto;
    color: #000000;
    font-weight: normal;
    font-size: 18px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 300ms all;
}

.clear-input:hover:after {
	color: tomato;
	-webkit-transition: 300ms all;
}
 
#phone:not(:valid) ~ .clear-input {
	display: none;
}

.booking-information_status span:nth-child(2) {
    padding: 2px 15px;
    border-radius: 25px;
}

.booking-information_status span.check-in {
    background: #C6E0F4;
    color: #0052ff;
}

.booking-information_status span.approved {
    background: #ddffae;
    color: #058a0a;
}

.booking-information_status span.pending {
    background: #FBE6A8;
    color: #ff3d00;
}

.booking-information_status span.canceled {
    color: #ff1100;
    background: #ffdad8;
}

.booking-information_status span.rejected {
    background: #3D3D3D;
    color: #ffffff;
}

.booking-information_status span.no-show {
    background: #E8EAED;
    color: #000;
}

@media only screen and (max-width: 480px) {
	.et_password_protected_form {
		padding: 40px;
	}
	
	.card .checkin-wrap button.selfCheckinBtn {
		width: 100%;
	}

	.card .checkin-wrap .self-checkin-message {
		float: none;
		text-align: center;
	}
	
	#selfCheckin .getBookingBtn {
		width: 100%;
	}
}