@charset "UTF-8";

body:has(#login-warning) {
    overflow: hidden;
}

#login-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    backdrop-filter: blur(3px);
}

#login-warning .content {
    width: calc(100% - 40px);
    max-width: 600px;
    max-height: calc(100% - 40px);
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0px 0px 10px 2px #000;
}

#login-warning .content > * {
    width: 100%;
}

#login-warning .head {
    background: linear-gradient(to bottom, #a30e30 0%, #d0234a 100%);
    color: #fff !important;
    padding: 1rem 0 0;
}

#login-warning .head button {
    float: right;
    border: 0;
    font-size: 24px;
    margin: -40px -30px 0 0;
    background: transparent;

    &:hover {
        color: #f00;
    }
}

#login-warning .body {
	padding: 1rem 2rem;
}

#login-warning h3 {
	margin: 1rem 0 2rem;
	text-align: center;
    color: #fff;
}

#login-warning .body :is(p, div) {
	width: 100%;
	text-align: justify;
}

#login-warning #btns {
	display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#login-warning #btns button {
	padding: 10px 16px;
	border: solid 1px #fff;
	transition: all 0.2s linear;
	color: #fff;
}

#login-warning #btn-login {
	background: #5fa25d;
	
	&:hover {
		background: #5bb659;
	}
}

#login-warning #btn-reg {
	background: #f17d00;
	
	&:hover {
		background: #e3440c;
	}
}