/* YeniTelefon Üyelik — ön yüz */

.yt-auth-shell {
	width: min(100%, 520px);
	margin: 0 auto;
	display: grid;
	gap: 1rem;
}

.yt-auth-card {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(36, 111, 54, 0.14);
	border-radius: 18px;
	padding: 1.5rem;
	box-shadow: 0 12px 30px rgba(22, 69, 35, 0.08);
}

.yt-auth-card-soft {
	background: rgba(255, 255, 255, 0.55);
}

.yt-auth-title {
	margin: 0 0 0.35rem;
	color: #164523;
	letter-spacing: -0.03em;
}

.yt-auth-subtitle {
	margin: 0 0 0.85rem;
	font-size: 1rem;
	color: #164523;
}

.yt-auth-lead,
.yt-auth-switch,
.yt-auth-note {
	color: #4a6354;
}

.yt-auth-switch a {
	font-weight: 700;
}

.yt-field {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 0.85rem;
}

.yt-field span {
	font-size: 0.88rem;
	font-weight: 650;
	color: #246f36;
}

.yt-field input,
.yt-field select {
	width: 100%;
	min-height: 46px;
	border: 1px solid rgba(36, 111, 54, 0.2);
	border-radius: 12px;
	padding: 0.65rem 0.85rem;
	font: inherit;
	background: #fff;
	color: #14241a;
}

.yt-field input:focus,
.yt-field select:focus {
	outline: 2px solid #3fa854;
	outline-offset: 1px;
}

.yt-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.yt-check {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin: 0.65rem 0;
	color: #14241a;
	font-size: 0.92rem;
}

.yt-check input {
	margin-top: 0.2rem;
}

.yt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.yt-btn-submit,
.yt-btn-auth,
.yt-btn-account {
	background: linear-gradient(160deg, #2e8a42, #1d582c);
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(36, 111, 54, 0.25);
	border: 0;
	width: 100%;
}

.yt-btn-auth,
.yt-btn-account,
.yt-btn-logout {
	width: auto;
}

.yt-btn-secondary,
.yt-btn-logout {
	background: rgba(255, 255, 255, 0.7);
	color: #1d582c !important;
	border-color: rgba(36, 111, 54, 0.22);
}

.yt-btn:hover {
	transform: translateY(-2px);
}

.yt-auth-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.menu-item-yt-auth {
	position: relative;
}

.menu-item-yt-auth > a {
	font-weight: 700;
}

.yt-auth-dropdown {
	position: relative;
	display: inline-block;
}

.yt-auth-dropdown-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 180px;
	padding: 0.45rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(36, 111, 54, 0.18);
	box-shadow: 0 12px 28px rgba(22, 69, 35, 0.12);
	display: grid;
	gap: 0.25rem;
	z-index: 30;
}

.yt-auth-dropdown-menu[hidden] {
	display: none !important;
}

.yt-auth-dropdown-menu a {
	display: block;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	color: #1d582c;
	font-weight: 650;
	text-decoration: none;
}

.yt-auth-dropdown-menu a:hover {
	background: #e4f4e7;
}

.menu-item-yt-auth .yt-btn,
.header-actions .yt-btn {
	width: auto;
	white-space: nowrap;
}

.yt-notice {
	padding: 0.85rem 1rem;
	border-radius: 12px;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.yt-notice-error {
	background: #fdecea;
	color: #8a1f11;
}

.yt-notice-success {
	background: #e7f6ea;
	color: #1d582c;
}

.yt-notice-info {
	background: #eef6f0;
	color: #246f36;
}

.yt-notice-verify {
	background: #fff8e7;
	border: 2px solid #f0b429;
	color: #6a4b00;
	font-size: 1.05rem;
	font-weight: 800;
	text-align: center;
	line-height: 1.45;
	padding: 1.1rem 1.15rem;
	box-shadow: 0 8px 20px rgba(240, 180, 41, 0.18);
}

.yt-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.yt-account-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 1rem 0 1.25rem;
}

.yt-meta-label {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #246f36;
	margin-bottom: 0.2rem;
}

.yt-badge {
	display: inline-flex;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	font-size: 0.85rem;
	background: #e4f4e7;
	color: #1d582c;
}

.yt-badge-silver { background: #eceff1; color: #37474f; }
.yt-badge-gold { background: #fff3cd; color: #7a5b00; }
.yt-badge-diamond { background: #e3f2fd; color: #0d47a1; }
.yt-badge-vip { background: #f3e5f5; color: #6a1b9a; }

@media (max-width: 640px) {
	.yt-field-row,
	.yt-account-grid {
		grid-template-columns: 1fr;
	}
}
