.auth-panel--login {
	max-width: 520px;
	margin: 0 auto;
}
body {
	overflow-x: hidden;
}

@media (max-width: 1170px) {
	body,
	html,
	#wrapper,
	.container {
		max-width: 1170px !important;
		overflow-x: hidden;
	}
}

.woe-on {
	text-align: center;
	font-size: 48px;
	color: #FFF;
	font-weight: 700;
}

#unitipmid {
	width: 145px !important;
}

.spacer {
	height: 450px;
	background: url("../img/unionro-reg.png") center bottom no-repeat;
	position: relative;
}

.message {
	background: #f0fbff;
	padding: 15px;
}

.spacer::after {
	width: 100%;
	height: 138px;
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: -2px;
}

.page {
	padding-bottom: 7em;
}

.page-text {
	line-height: 23px;
	padding-bottom: 2em;
	text-align: center;
	margin-bottom: 0px;
	font-size: 16px;
	color: #aaa;
	letter-spacing: 0.6px;
}

.container.main {
	/* min-height removido para responsividade */
}

.features.page {
	margin: 0;
	padding: 4em 0;
}

.downloads {
	padding: 0 0 4em;
}

.vertical-table,
.horizontal-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 13px;
}

.vertical-table th,
.horizontal-table th {
	padding: 12px 12px;
	background: #eee;
	border: 1px solid #e0e0e0;
}

.vertical-table td,
.horizontal-table td {
	padding: 12px;
	border: 1px solid #e0e0e0;
}

.vertical-table a,
.horizontal-table a {
	color: #004349;
	font-weight: 700;
}

.auth-card-table {
	border-collapse: separate;
	border-spacing: 0;
	background: #abbfb6;
	border: 1px solid #abbfb6;
	border-radius: 12px;
	overflow: hidden;
}

.auth-card-table th,
.auth-card-table td {
	border: 0;
	padding: 12px 16px;
}

.auth-card-table th {
	background: #70a8ad;
	color: #004349;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.05em;
	font-weight: 700;
}

.auth-card-table td {
	background: #abbfb6;
	color: #004349;
	font-weight: 600;
}

.auth-card-table tr + tr th,
.auth-card-table tr + tr td {
	border-top: 1px solid #abbfb6;
}

.auth-card-table tr:nth-child(odd) td {
	background: #326a6f;
}

.auth-card-table a {
	color: #004349;
	font-weight: 700;
	text-decoration: none;
}

.auth-card-table a:hover,
.auth-card-table a:focus {
	text-decoration: underline;
}

.auth-card-table td.align-right {
	text-align: right;
}

.auth-storage-table {
	min-width: 980px;
	font-size: 12px;
}

.auth-storage-table th {
	white-space: nowrap;
	text-align: left;
}

.auth-storage-table td {
	vertical-align: top;
	text-align: left;
}

.auth-storage-table td img {
	max-width: 32px;
	max-height: 32px;
	display: block;
	margin: 0 auto;
}

.auth-storage-table ul {
	margin: 6px 0 0 0;
	padding-left: 16px;
}

.auth-card-table tr:first-child th:first-child,
.auth-card-table tr:first-child td:first-child {
	border-top-left-radius: 12px;
}

.auth-card-table tr:first-child th:last-child,
.auth-card-table tr:first-child td:last-child {
	border-top-right-radius: 12px;
}

.auth-card-table tr:last-child th:first-child,
.auth-card-table tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}

.auth-card-table tr:last-child th:last-child,
.auth-card-table tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}

.auth-info-table th,
.auth-info-table td {
	padding: 14px 18px;
}

.auth-info-table th {
	width: 25%;
}

.auth-character-table th {
	white-space: nowrap;
}

.search-form {
	display: none;
	background: #eee;
	padding: 12px;
}

.pages {
	text-align: center;
	margin: 15px 0;
}

.pages a {
	padding: 6px;
	color: #000;
	font-size: 13px;
}

.jump-to-page {
	float: right;
}

.container.main {
	padding: 30px;
	margin-top: -90px;
	margin-bottom: 40px;
	border-radius: 12px;
	position: relative;
	background: #FFF;
}

p.info-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 10px 16px;
	border-radius: 14px;
	background: rgba(116, 150, 141, 0.18);
	border: 1px solid rgba(116, 150, 141, 0.4);
	color: #004349;
	font-size: 13px;
	font-family: "Open Sans", sans-serif;
	box-shadow: 0 8px 18px rgba(5, 13, 10, 0.18);
}

.auth-section__summary .info-text {
	background: rgba(116, 150, 141, 0.24);
	border-color: rgba(73, 104, 96, 0.35);
}

.auth-help {
	margin-top: 8px;
	font-size: 12px;
	color: #00262a;
	opacity: 0.85;
}

.auth-text-dark,
.auth-section__content p.auth-text-dark,
.auth-section__summary.auth-text-dark,
.auth-section__summary .auth-text-dark {
	color: #00262a;
}

.toggler {
	font-weight: bold;
}

.form-horizontal .control-label {
	font-size: 13px;
}

.generic-form {
	padding: 12px;
}

.generic-form p {
	margin: 0;
}

.generic-form-table {
	border-collapse: collapse;
	width: 50%;
}

.generic-form-table tr th,
.generic-form-table tr td {
	padding: 12px;
}

.form-horizontal table tr td {
	padding: 0;
}

.form-horizontal table tr td p {
	padding: 0;
	margin: 2px 0;
}

.security-code img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 113px;
}

.form-horizontal select {
	width: 32%;
	padding: 5px;
	border-color: #ccc;
}

.changesex {
	background: #eee;
}

.generic-form .btn {
	font-size: 14px;
}

.reset-amount-text {
	text-align: center;
}

.submenu {
	background: transparent;
	padding: 10px 0;
}

.submenu,
.submenu a {
	color: #333;
	font-size: 14px;
}

.red {
	background: #ff2121;
	padding: 12px 12px;
	color: #FFF;
}

.logged {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}

.logged p {
	margin: 0;
}

.logged .btn-theme {
	font-size: 14px;
	font-weight: 400;
}

.logged__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.modal-header h4 {
	font-size: 30px;
	font-weight: 300;
}

.woe-text p {
	color: #FFF;
}

ul.dropdown-menu li {
	margin: 0;
	padding: 0;
}

.adjust {
	width: 1110px;
	overflow: auto;
}

.footer h4 {
	color: #004349;
}

.woe-rank-box {
	margin-top: -45px !important;
}

.discord-section {
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 50px 0;
}

.discord-section iframe {
	margin-top: 40px;
}

.ini-section {
	margin: 0;
	padding: 0;
}

.rankings-woe-flag {
	padding-top: 80px;
}

.title-section-rank {
	margin-bottom: 50px;
	font-size: 36px;
	font-weight: bold;
}

.statistics-welcome {
	margin-top: 75px !important;
}

/* Account creation */
.auth-page {
	max-width: 1080px;
	margin: 40px auto;
	padding: 0 20px;
	color: #d9f7eb;
}

.auth-menu {
	display: flex;
	gap: 3px;
	padding: 3px 6px;
	margin-bottom: 12px;
	background: #326a6f;
	border: 1px solid #326a6f;
	border-radius: 8px;
	box-shadow: 0 6px 14px rgba(3, 11, 8, 0.302);
}

.auth-menu__item {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 6px 10px;
	border-radius: 8px;
	background: #70a8ad;
	color: #004349;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.auth-menu__item i {
	font-size: 11px;
}

.auth-menu__item:hover {
	color: #ffffff;
	background: #538b90;
	box-shadow: 0 0 0 1px rgba(74, 105, 97, 0.3);
}

.auth-menu__item.is-active {
	color: #ffffff;
	background: #17484c;
	box-shadow: 0 0 0 1px rgba(52, 78, 72, 0.3);
}

.auth-layout {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.auth-panel {
	background: #326a6f;
	border: 1px solid #326a6f;
	border-radius: 20px;
	padding: 22px;
	box-shadow: 0 10px 20px rgba(5, 13, 10, 0.3);
	backdrop-filter: blur(3px);
}

.auth-panel__header {
	margin-bottom: 18px;
}

.auth-panel__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.6;
	color: #00262a;
}

.auth-panel__body:last-child {
	margin-bottom: 0;
}

.auth-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 26px;
}

.auth-section:last-of-type {
	margin-bottom: 0;
}

.auth-section__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #00262a;
}

.auth-section__content {
	padding: 16px;
	border-radius: 16px;
	background: #70a8ad;
	border: 1px solid #70a8ad;
	overflow-x: auto;
}

.auth-section__content--form {
	background: #70a8ad;
	border-color: #70a8ad;
	box-shadow: 0 12px 24px rgba(5, 13, 10, 0.22);
	backdrop-filter: blur(4px);
}

.downloads-meta {
	align-items: stretch;
	width: 100%;
	font-size: 1.1rem;
}

.downloads-meta .auth-section__title {
	justify-content: flex-start;
	color: #00262a;
}

.downloads-meta .auth-section__content {
	text-align: left;
	background: #70a8ad;
	border-color: #70a8ad;
}

.downloads-meta .auth-section__content p {
	color: #00262a;
	margin: 0;
}

.downloads-meta .auth-section__content p + p {
	margin-top: 4px;
}

.ranking-options {
	list-style: none;
	margin: 18px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.ranking-options__item {
	margin: 0;
}

.ranking-options__link {
	display: block;
	padding: 14px 18px;
	border-radius: 14px;
	text-decoration: none;
	background: rgba(116, 150, 141, 0.18);
	border: 1px solid rgba(30, 63, 52, 0.45);
	color: #004349;
	font-weight: 600;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ranking-options__link:hover,
.ranking-options__link:focus {
	background: rgba(116, 150, 141, 0.32);
	transform: translateY(-1px);
}

.ranking-options__label {
	display: block;
	text-align: center;
	letter-spacing: 0.03em;
}

.ranking-options__empty {
	margin: 18px 0 0;
	color: rgba(17, 36, 31, 0.72);
}

.auth-page--rankings .auth-layout {
	gap: 32px;
}

.auth-layout--rankings-single {
	max-width: 1100px;
	margin: 0 auto;
}

.ranking-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 680px) {
	.ranking-grid {
		grid-template-columns: 1fr;
	}
}

.ranking-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(17, 36, 31, 0.1);
	box-shadow: 0 8px 16px rgba(5, 13, 10, 0.18);
	color: #004349;
}

.ranking-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #17484c;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	box-shadow: 0 6px 14px rgba(5, 13, 10, 0.28);
}

.ranking-card__content h3 {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: #17484c;
}

.ranking-card__content p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #00262a;
}

.ranking-card__cta {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 12px;
	background: #17484c;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 6px 14px rgba(4, 15, 12, 0.28);
	transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-card__cta i {
	font-size: 13px;
}

.ranking-card__cta:hover,
.ranking-card__cta:focus {
	background: #11383b;
	color: #ffffff;
	transform: translateY(-1px);
}

.auth-section__content--table {
	padding: 0;
	background: #70a8ad;
	border: 1px solid rgba(17, 36, 31, 0.12);
	border-radius: 16px;
	overflow-x: auto;
}

.auth-section__content--table table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	background: transparent;
}

.auth-section__content--table th,
.auth-section__content--table td {
	padding: 12px;
	color: #00262a;
	border: 1px solid rgba(17, 36, 31, 0.08);
}

.auth-section__content--table th {
	background: #70a8ad;
	color: #00262a;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.05em;
}

.auth-section__content--table tr:nth-child(even) td {
	background: #8ec8ce;
}

.woe-table {
	margin: 0 0 24px;
	border-radius: 18px;
	background: #70a8ad;
	box-shadow: 0 8px 18px rgba(17, 36, 31, 0.16);
	overflow: hidden;
}

.woe-table__header th {
	background: rgba(73, 104, 96, 0.35);
	color: #00262a;
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0.02em;
}

.woe-table__guild {
	width: 96px;
	background: rgba(17, 36, 31, 0.18);
}

.woe-table__guild img {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto;
	border-radius: 16px;
	border: 2px solid rgba(13, 31, 26, 0.35);
	background: #ffffff;
}

.woe-table__name {
	font-size: 20px;
	font-weight: 700;
	color: #10221d;
	letter-spacing: 0.02em;
}

.woe-table__meta td {
	background: rgba(255, 255, 255, 0.28);
	font-size: 13px;
	color: rgba(16, 34, 29, 0.78);
	font-weight: 600;
}

.woe-table__meta .woe-table__guild-name {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 12px;
	background: rgba(116, 150, 141, 0.2);
}

.woe-table__position span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(30, 63, 52, 0.85);
	color: #ffffff;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(5, 13, 10, 0.28);
}

.woe-table__body {
	background: rgba(255, 255, 255, 0.45);
}

.woe-table__wrapper {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.woe-summary {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 22px;
	align-items: center;
}

.woe-summary__avatar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px;
	border-radius: 18px;
	background: rgba(17, 36, 31, 0.1);
	box-shadow: inset 0 0 0 1px rgba(17, 36, 31, 0.14);
}

.woe-summary__avatar img {
	width: 96px;
	height: 96px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 6px 12px rgba(17, 36, 31, 0.2);
}

.woe-summary__avatar strong {
	font-size: 16px;
	color: #10221d;
}

.woe-summary__stats {
	font-size: 13px;
	color: rgba(16, 34, 29, 0.72);
}

.woe-summary__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(73, 104, 96, 0.3);
	color: #00262a;
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
}

.woe-summary__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
}

.woe-detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.woe-matrix {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 16px;
	box-shadow: 0 6px 12px rgba(17, 36, 31, 0.12);
}

.woe-matrix th {
	background: rgba(73, 104, 96, 0.32);
	color: #00262a;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.woe-matrix td {
	font-size: 13px;
	color: rgba(16, 34, 29, 0.9);
}

.woe-matrix td:first-child img {
	display: block;
	width: 26px;
	height: 26px;
	margin: 0 auto;
}

.woe-matrix tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.4);
}

.woe-matrix tr:hover td {
	background: rgba(73, 104, 96, 0.12);
}

.woe-detail-grid .woe-matrix td:nth-child(2) {
	font-weight: 600;
	color: #10221d;
}

.woe-detail-grid .woe-matrix td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.woe-table__playtime span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(30, 63, 52, 0.22);
	font-size: 12px;
	font-weight: 600;
	color: rgba(16, 34, 29, 0.82);
}

.woe-table__playtime span::before {
	content: "\f017";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 12px;
	color: rgba(16, 34, 29, 0.64);
}

.woe-table__wrapper::after {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(30,63,52,0.16), rgba(73,104,96,0.34));
}

.woe-matrix tr:last-child td:first-child {
	border-bottom-left-radius: 16px;
}

.woe-matrix tr:last-child td:last-child {
	border-bottom-right-radius: 16px;
}

.woe-table:last-child {
	margin-bottom: 0;
}

.ranking-highlight {
	color: #1e3f34;
	font-weight: 700;
}

.auth-section__content--form .auth-form {
	gap: 20px;
}

.auth-section__content--form .auth-grid {
	gap: 18px 20px;
}

.auth-section__content--form .auth-input {
    background: #99d1d6;
    border: 1px solid #89c0c5;
	color: #00262a;
}

.auth-section__content--form .auth-input::placeholder {
	color: rgba(17, 36, 31, 0.45);
}

.auth-section__content--form .auth-input:focus {
	border-color: #326a6f;
	box-shadow: 0 0 0 3px rgba(73, 104, 96, 0.25);
}

.auth-section__content table {
	margin: 0;
	width: 100%;
}

.auth-section__summary,
.auth-section__empty,
.auth-section__foot {
	margin: 0;
	font-size: 13px;
	color: #004349;
	line-height: 1.6;
}

.auth-section__summary {
	display: block;
	margin-bottom: 16px;
}

.auth-section__empty {
	font-style: italic;
	color: rgba(17, 36, 31, 0.75);
}

.auth-section__foot {
	font-weight: 600;
}

.auth-panel h2 {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #00262a;
}

.auth-panel--requirements {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.auth-panel__header h2 {
	margin-bottom: 6px;
}

.auth-panel__header p {
	margin: 0;
	color: #00262a;
	font-size: 14px;
	line-height: 1.6;
}

.auth-panel__header--inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.auth-panel__header--inline h2 {
	margin-bottom: 0;
}

.auth-panel__header--inline p {
	font-size: 13px;
	color: #00262a;
}

.auth-panel__footer {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(17, 36, 31, 0.18);
	font-size: 13px;
	color: #00262a;
}

.auth-panel__footer a {
	color: #00262a;
	font-weight: 600;
	text-decoration: none;
}

.auth-panel__footer a:hover {
	color: #00191b;
}

.auth-requirements {
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.auth-requirements li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 4px 6px;
	border-radius: 8px;
	color: #00262a;
	font-size: 12px;
	line-height: 1.4;
	background: #70a8ad;
	border: 1px solid #70a8ad;
}

.auth-requirements li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #004349;
	box-shadow: 0 0 6px rgba(17, 36, 31, 0.5);
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.auth-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 18px;
}

.auth-field {
	display: flex;
	flex-direction: column;
}

.auth-field__controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.auth-field--split .auth-field__controls .auth-input:first-child {
	flex: 0 0 132px;
}

.auth-field--split .auth-field__controls .auth-input:last-child {
	flex: 1 1 auto;
}

.auth-section__content--form .auth-field__controls .auth-input {
	min-height: 42px;
}

.auth-field--full {
	grid-column: 1 / -1;
}

.auth-field--inline .auth-gender {
	height: 100%;
	align-items: stretch;
}

.auth-field--gender .auth-gender {
	gap: 8px;
}

.auth-field--gender .auth-toggle {
	flex: 0 1 200px;
}

.auth-field label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #00262a;
}

.auth-field__hint {
	margin: 6px 0 0;
	font-size: 12px;
	color: #00262a;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.auth-field__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.auth-field--split .auth-field__controls .auth-input:first-child {
		flex: 1 1 auto;
		width: 100%;
	}
}

.auth-field label i {
	color: #ffffff;
	font-size: 16px;
}

.auth-input {
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
    background: #70a8ad;
    border: 1px solid #70a8ad;
	color: #004349;
	font-size: 14px;
	transition: border 0.25s ease, box-shadow 0.25s ease;
}

.auth-input[type="file"] {
	padding: 10px 16px;
	background: #004349;
	border: 1px solid #004349;
	color: #ffffff;
	cursor: pointer;
}

.auth-input[type="number"] {
	appearance: textfield;
	-moz-appearance: textfield;
}

.auth-input[type="number"]::-webkit-inner-spin-button,
.auth-input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

.auth-number {
	display: flex;
	align-items: stretch;
	border-radius: 12px;
	background: #004349;
	border: 1px solid #004349;
	width: 100%;
	overflow: hidden;
	transition: border 0.25s ease, box-shadow 0.25s ease;
}

.auth-number:focus-within {
	border-color: #003034;
	box-shadow: 0 0 0 3px rgba(73, 104, 96, 0.25);
}

.auth-number .auth-input {
	flex: 1 1 auto;
	border: 0;
	border-radius: 0;
	color: #ffffff;
    background: #003034;
	box-shadow: none;
	padding: 10px 12px;
}

.auth-number .auth-input:focus {
	border: 0;
	box-shadow: none;
}

.auth-number__btn {
	flex: 0 0 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(17, 36, 31, 0.12);
	border: 0;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.auth-number__btn--down {
	border-right: 1px solid rgba(17, 36, 31, 0.18);
}

.auth-number__btn--up {
	border-left: 1px solid rgba(17, 36, 31, 0.18);
}

.auth-number__btn:hover {
	background: rgba(17, 36, 31, 0.22);
}

.auth-number__btn:active {
	background: rgba(17, 36, 31, 0.32);
}

.auth-number__btn:focus-visible {
	outline: 2px solid rgba(17, 36, 31, 0.6);
	outline-offset: 2px;
}

.auth-number__btn i {
	pointer-events: none;
}

.auth-input[type="file"]::-webkit-file-upload-button {
	background: rgba(17, 36, 31, 0.85);
	color: #ffffff;
	border: 0;
	border-radius: 8px;
	padding: 8px 16px;
	margin-right: 12px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
}

.auth-input[type="file"]::file-selector-button {
	background: rgba(17, 36, 31, 0.85);
	color: #ffffff;
	border: 0;
	border-radius: 8px;
	padding: 8px 16px;
	margin-right: 12px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
}

.auth-input[type="file"]:hover::-webkit-file-upload-button,
.auth-input[type="file"]:hover::file-selector-button {
	background: #003034;
}

.auth-input::placeholder {
    color: #beddd6;
}

.auth-input:focus {
	outline: none;
	border-color: #70a8ad;
	box-shadow: 0 0 6px rgba(17, 36, 31, 0.3);
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px #70a8ad inset;
	-webkit-text-fill-color: #ffffff;
	caret-color: #004349;
	transition: background-color 5000s ease-in-out 0s;
}

.auth-input:autofill,
.auth-input:autofill:hover,
.auth-input:autofill:focus,
.auth-input:autofill:active {
	box-shadow: 0 0 0 1000px #70a8ad inset;
	color: #004349;
}

.auth-gender,
.auth-toggle-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.auth-toggle {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.auth-toggle-group .auth-toggle {
	flex: 1 1 0;
}

.auth-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.auth-toggle span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 12px;
    background: #004349;
    border: 1px solid #004349;
    color: #ffffff;
	font-weight: 600;
	transition: border 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.auth-gender .auth-toggle {
	flex: 1 1 0;
}

.auth-toggle input:checked + span {
	background: #003034;
	box-shadow: 0 6px 12px rgba(50, 75, 68, 0.3);
	color: #FFFFFF;
}

.auth-birthdate {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.auth-birthdate select {
	flex: 1 1 120px;
	min-width: 120px;
	padding: 9px 11px;
	border-radius: 10px;
    background: #70a8ad;
    border: 1px solid #70a8ad;
	color: #004349;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.auth-birthdate select:focus,
.auth-birthdate select:focus-visible {
	outline: none;
	border-color: #70a8ad;
	box-shadow: 0 0 6px rgba(17, 36, 31, 0.3);
}

.auth-birthdate select::-moz-focus-inner {
	border: 0;
}

.auth-captcha {
	display: grid;
	gap: 14px;
}

.auth-field--security .g-recaptcha {
	transform: scale(0.92);
	transform-origin: top left;
}

.auth-field--security .auth-captcha__preview {
	flex-direction: column;
	align-items: flex-start;
}

.auth-captcha__preview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 14px;
    background: #70a8ad;
    border: 1px solid #70a8ad;
	color: #004349;
}

.auth-captcha__preview img {
	max-width: 220px;
	height: 70px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid rgba(39, 173, 117, 0.28);
}

.auth-captcha__refresh {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 10px;
    background: #326a6f;
    color: #004349	;
    border: 1px solid #70a8ad;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border 0.25s ease;
}

.auth-captcha__refresh:hover {
    background: #004349;
    box-shadow: 0 6px 12px rgba(50, 75, 68, 0.3);
    color: #ffffff;
}

.auth-alert {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 7px 8px;
	border-radius: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
	margin: 18px 0;
}

.auth-alert--error {
	background: #dd3330;
	border: 1px solid rgba(202, 48, 45, 0.3);
	color: #240101;
	box-shadow: 0 3px 6px rgba(35, 1, 1, 0.3);
}

.auth-alert--info {
	background: #e1f2ff;
	border: 1px solid rgba(43, 119, 173, 0.25);
	color: #0b2f44;
	box-shadow: 0 3px 6px rgba(14, 56, 81, 0.25);
}

.auth-alert--success {
	background: #dff6eb;
	border: 1px solid rgba(32, 138, 94, 0.25);
	color: #08432a;
	box-shadow: 0 3px 6px rgba(12, 71, 44, 0.22);
}

.auth-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}

.auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 22px;
	height: 48px;
	border: none;
	border-radius: 16px;
	background: #004349;
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	box-shadow: 0 6px 12px rgba(50, 75, 68, 0.3);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-submit {
	width: 100%;
}

.auth-submit:hover {
	transform: translateY(2px);
	background: #003034;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(50, 75, 68, 0.3);
}

.auth-panel--compact {
	max-width: none;
	width: 100%;
	padding: 20px 24px;
}

.auth-submit i {
	font-size: 16px;
}

@media (max-width: 980px) {
	.auth-menu {
		flex-direction: column;
	}

	.auth-menu__item {
		text-align: center;
	}

	.auth-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.auth-page {
		padding: 0 10px;
	}

	.auth-panel {
		padding: 22px;
	}

	.auth-submit {
		width: 100%;
	}

	.auth-actions {
		justify-content: center;
	}

	.auth-field--gender .auth-toggle {
		flex: 1 1 100%;
	}
}