body {
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eee;
    color: #000;
    height: 100vh;
}

#site-root {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#background {
	position: absolute;
	inset: 0;
	background-position: center;
    background-image: none; 
    background-size: cover;
    filter: blur(2px) brightness(1.2);
    z-index: 1;
}

strong {
    font-weight: 500;
}

.login-container, .offline-container {
    display: flex;
    width: 100%;
    max-width: 1250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 10px;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

.status-checking .offline-container,
.status-checking .login-container {
    opacity: 0;
}

.status-online .offline-container {
    display: none;
}

.status-offline .login-container {
    display: none;
}

.status-offline .offline-container {
    opacity: 1;
}

.offline-image {
    width: 100%;
    height: 750px;
}

.carousel-container {
    width: 66.67%;
    height: 750px;
    margin: 0;
    padding: 0;
    max-width: 1250px;
    display: block;
}

.carousel,
.carousel .slick-list,
.carousel .slick-track {
    width: 100%;
    height: 100%;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-box {
    padding: 25px 50px;
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.21);
    backdrop-filter: blur(10px);
}

.login-box h2 {
    font-size: 30px;
    color: #000000;
    line-height: 1.4em;
    text-align: left;
    margin-block-start: 0px;
    margin-block-end: 0;
}

.login-box h4 {
    font-family: 'Inter',Helvetica,Arial,Lucida,sans-serif;
    font-size: 15px;
    color: #424242;
    text-align: left;
    margin-block-start: 0px;
    margin-block-end: 36px;
}

.login-image-box {
    margin-left: auto;
    margin-right: auto;
    line-height: 0;
    display: block;
    text-align: center;

}

.login-image-wrap {
    border: 0 solid #333;
    display: inline-block;
    position: relative;
    max-width: 100%;
}

.login-image {
    height: auto;
    max-width: 100%;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    font-size: 15px;
    border: 0px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-family: 'Arial', sans-serif;
    background-color: #F0F0F0;
}

.input-group input::placeholder {
    color: #6c757d; /* Match the placeholder color with the example */
}

.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

.input-group button {
    width: 100%;
    padding: 12px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.input-group button:hover:not([disabled]) {
    background-color: #1461c5;
}

#login-submit-button {
    transition: all 0.15s ease-in-out;
}

#login-submit-button[disabled] {
    opacity: 0.9;
    cursor: default;
}

#login-submit-button[disabled] span {
    display: none;
}

#login-submit-button i {
    display: none;
}

#login-submit-button[disabled] i {
    display: inline-block;
}

.login-footer {
    font-size: 11px;
    line-height: 1.4em;
    margin-top: 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    word-wrap: break-word;
}

.login-footer p {
    font-family: Inter !important;
    font-weight: 400 !important;
    text-align: center;
    margin: 0;
}

/* Hide carousel on mobile */
@media (max-width: 1250px) {
    .carousel-container {
        display: none;
    }
    
    .login-container {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    
    .login-box {
        width: 100%;
    }
}

/* Close button */
.close-btn {
    position: absolute;
    bottom: 10px;
    right: 20px;
    height: 30px;
    width: 100px;
    background: #aaa;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.slick-arrow {
	font-size: 30px;
	transition: opacity .15s ease-in-out;
}

.slick-arrow:before {
	font: var(--fa-font-regular);
	transition: opacity .15s ease-in-out;
}

.slick-prev, .slick-next {
	z-index: 999;
}

.slick-next {
	right: 10px;
}

.slick-next:before {
	content: "\f054";
}

.slick-prev {
	left: 10px;
}

.slick-prev:before {
	content: "\f053";
}

.carousel .slick-arrow {
	opacity: 0;
}

.carousel:hover .slick-arrow {
	opacity: 1;
}

.slick-dots {
	bottom: 10px;
}

.slick-dots li button:before {
	color: #fff;
	transition: opacity .15s ease-in-out;
}

.slick-dots li.slick-active button:before {
	color: #fff;
}

svg:focus {
    outline: 0;
}

.login-form {
    position: relative;
}

.error-message {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    font-size: 0.9em;
    background: #f04545;
    color: white;
    border: 1px solid #d34343;
    text-align: center;
    border-radius: 5px;
    padding: 7px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.error-message.hidden {
    opacity: 0;
}
