/* Login/Register pages: remove the decorative MacBook/video column and keep the form full width. */
.ih-auth-document {
	background: #f7f7f8;
	padding: 30px;
}

.ih-auth-document .ih-auth-main {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 60px);
	padding: 30px;
	background: #fff;
	border-radius: 10px;
}

.ih-auth-document .ih-auth-form {
	width: 500px;
	max-width: 100%;
}

@media (max-width: 1024px) {
	.ih-auth-document {
		padding: 15px;
	}
}

@media (max-width: 767px) {
	.ih-auth-document .ih-auth-main {
		padding: 15px;
	}
}

body.wr-auth-page .elementor-column:has(.elementor-widget-workreap-mac-book) {
	display: none !important;
}

body.wr-auth-page .elementor-column:has(.elementor-widget-workreap_element_authentication) {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}

body.wr-auth-page .elementor-column:has(.elementor-widget-workreap_element_authentication) > .elementor-widget-wrap {
	align-content: center;
	justify-content: center;
}

/* Issue #240: /login はフィールド数が少なく横幅が縮んでしまい /register より小さく見えるため、
   フォームカードの幅を /register と揃える。 */
body.wr-auth-page .elementor-widget-workreap_element_authentication {
	width: 500px !important;
	max-width: 100% !important;
}

body.wr-auth-page .wt-registration-work-area .select2-container,
.wr-auth-popup .wt-registration-work-area .select2-container {
	min-width: 0;
	max-width: 100%;
}

body.wr-auth-page .wt-registration-work-area .select2-selection--multiple,
.wr-auth-popup .wt-registration-work-area .select2-selection--multiple {
	min-height: 48px;
	padding: 8px 12px;
	border: 0;
	border-radius: 10px;
	background: #f7f7f7;
}

body.wr-auth-page .wt-registration-work-area .select2-selection--multiple .select2-selection__choice,
.wr-auth-popup .wt-registration-work-area .select2-selection--multiple .select2-selection__choice {
	background: #e6f6ec;
	border: 1px solid #9fd3b0;
	color: #1f5a33;
}

body.wr-auth-page .wt-registration-work-area .select2-selection__choice__remove,
.wr-auth-popup .wt-registration-work-area .select2-selection__choice__remove {
	color: #2c6b3f;
}

body.wr-auth-page .wt-registration-work-area .select2-selection__choice__remove:hover,
.wr-auth-popup .wt-registration-work-area .select2-selection__choice__remove:hover {
	color: #1d4d2d;
}

body.wr-auth-page .wt-registration-work-area .select2-search__field,
.wr-auth-popup .wt-registration-work-area .select2-search__field {
	min-height: 24px;
	margin: 0;
}

/* Select2 initializes while the modal is hidden; keep its search input usable. */
.wr-auth-popup .wt-registration-work-area .select2-search--inline {
	width: 100%;
}

.wr-auth-popup .wt-registration-work-area .select2-search__field {
	min-width: 100%;
}

/* パスワード欄だけにある説明文で再入力欄とずれないよう、左右を上揃えにして説明文は入力欄の下へ置く。 */
body.wr-auth-page .user-registration-form .half-group,
.wr-auth-popup .user-registration-form .half-group {
	align-items: flex-start;
}

body.wr-auth-page .user-registration-form .wr-placeholderholder > p,
.wr-auth-popup .user-registration-form .wr-placeholderholder > p {
	order: 1;
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: #6b6b6b;
	word-break: auto-phrase;
}
