.ydma-wrapper {
	max-width: 960px;
	margin: 20px auto;
	font-family: "Segoe UI", Arial, sans-serif;
}

.ydma-card {
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	border: 1px solid #d7e3f2;
	padding: 28px;
	margin-bottom: 24px;
	border-radius: 18px;
	box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.ydma-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 14px;
	margin-bottom: 22px;
}

.ydma-section-head {
	margin-bottom: 18px;
}

.ydma-section-head h2 {
	margin: 6px 0;
	font-size: 28px;
	color: #102a43;
}

.ydma-section-head p {
	margin: 0;
	color: #52606d;
}

.ydma-kicker {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e8f1ff;
	color: #175cd3;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ydma-form-title {
	margin: 28px 0 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e6eef8;
	color: #12344d;
}

.ydma-grid label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #243b53;
}

.ydma-grid input,
.ydma-grid textarea,
.ydma-grid select,
#ydma-login-form input,
#ydma-otp-box input,
#ydma-login-otp-box input {
	width: 100%;
	padding: 11px 13px;
	box-sizing: border-box;
	border: 1px solid #c9d6e2;
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ydma-grid input:focus,
.ydma-grid textarea:focus,
.ydma-grid select:focus,
#ydma-login-form input:focus,
#ydma-otp-box input:focus,
#ydma-login-otp-box input:focus {
	outline: none;
	border-color: #175cd3;
	box-shadow: 0 0 0 3px rgba(23, 92, 211, 0.12);
}

.ydma-grid textarea {
	min-height: 96px;
	resize: vertical;
}

.ydma-full {
	grid-column: 1 / -1;
}

.ydma-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 15px 0;
	padding: 12px 14px;
	background: #f7fafc;
	border: 1px solid #e4edf5;
	border-radius: 12px;
}

.ydma-alert {
	padding: 12px 14px;
	margin-bottom: 16px;
	border-radius: 12px;
	border: 1px solid transparent;
}

.ydma-alert.success {
	background: #e5f7e8;
	color: #1d6b28;
	border-color: #b7e4c2;
}

.ydma-alert.error {
	background: #fde8e8;
	color: #9b1c1c;
	border-color: #f5b5b5;
}

.ydma-card .button,
.ydma-card .button-primary {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
}

.ydma-card .button-primary {
	background: linear-gradient(135deg, #175cd3, #1d4ed8);
	border-color: #175cd3;
}

.ydma-card .button-primary:hover,
.ydma-card .button-primary:focus {
	background: linear-gradient(135deg, #174ea6, #1e40af);
	border-color: #174ea6;
}

.ydma-logout-link {
	display: inline-block;
	margin-bottom: 12px;
	color: #175cd3;
	text-decoration: none;
	font-weight: 600;
}

@media (max-width: 767px) {
	.ydma-grid {
		grid-template-columns: 1fr;
	}

	.ydma-card {
		padding: 20px;
	}

	.ydma-section-head h2 {
		font-size: 22px;
	}
}
