body {
	--dark-accent: #5c1320;
	--panel-accent: rgba(120, 24, 42, 0.82);
	--panel-accent-strong: #7b1830;
	--surface-tint: #fff6f8;
	--surface-tint-strong: #fdecef;
	--text-muted: #7f5f67;
}

html,
body {
	height: 100%;
	margin: 0;
}

body {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	background: url(../images/login_bg.png) no-repeat center;
	background-size: cover;
	background-color: var(--dark-accent);
	background-blend-mode: multiply;
}

.login-top {
	width: 100%;
	background: linear-gradient(180deg, rgba(134, 24, 49, 0.9) 0%, var(--panel-accent) 100%);
	text-align: center;
	padding: 2.5rem 1.5rem;
	border-radius: 1.5rem 1rem 0 0;
	display: flex;
	gap: 2rem;
	flex-direction: column;
}

.logo-image {
	margin-top: 1.5rem;
}

.desc-text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: white;
}

.desc-text h6 {
	font-size: 0.95rem;
	line-height: 1.5;
}

.desc-text h6,
.desc-text h4 {
	font-weight: 600;
	text-wrap: balance;
}

.login-title {
	font-size: clamp(1.35rem, 2vw + 0.9rem, 1.5rem);
	line-height: 1.35;
	margin: 0;
	max-width: 100%;
}

.login-title[lang="ko"] {
	word-break: keep-all;
	overflow-wrap: normal;
}

.login-title-line {
	display: block;
}

.brand-name {
	font-size: 0.5rem;
	text-align: right;
	color: white;
}

.login-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	background-color: #fffdfd;
	padding: 2rem;
	border-radius: 0 0 20px 20px;
}

.whalespace-login-button {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	align-items: center;
	justify-content: center;
}

.login-button,
.whalespace-login-button {
	border-radius: 100rem;
	width: 100%;
	background-color: var(--panel-accent-strong);
	color: white;
	font-size: 0.8rem;
	padding-block: 0.55rem;
	border: none;
}

.socialaccount-provider {
	text-decoration: none;
}

.form-divider {
	position: relative;
	z-index: 1;
	text-align: center;
}

.form-divider::before {
	border-top: 1px solid var(--dark-accent);
	content: "";
	margin: 0 auto;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	bottom: 0;
	width: 95%;
	z-index: -1;
}

.form-divider span {
	background: white;
	padding: 0 15px;
	font-size: 0.8rem;
	font-weight: 700;
}

.input-parent {
	position: relative;
}

.input-parent img {
	position: absolute;
	top: 1rem;
	left: 3rem;
	z-index: 5;
}

.login-form input {
	font-size: 0.8rem;
	border-radius: 100rem;
	padding-block: 0.75rem;
	padding-left: 5.65rem;
	background-color: var(--surface-tint);
	border: none;
}

.form-signin {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 27rem !important;
	padding: 1rem;
	margin: auto;
}

.footer {
	font-size: 0.7rem;
	color: var(--text-muted);
	margin: 0;
	text-align: center;
}

.signup {
	color: var(--dark-accent);
	font-weight: 500;
	transition: all 0.2s ease-in-out;
}

.signup:hover {
	color: var(--dark-accent);
	font-weight: 500;
	letter-spacing: 0.025rem;

}

/* Select all alerts */
[class*="alert"] {
	font-size: 0.85rem;
	padding: 0.6rem 0.7rem;
	border-radius: 0.5rem;
	margin-bottom: 0;
	text-align: center;
}

/* Media query for screens less than 350px */
@media screen and (max-width: 360px) {
	.form-signin {
		padding: 0;
		max-width: 21rem;
		transition: all 0.15s ease-in;
	}
}
