.sdm-front-card,
.sdm-account-header {
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	margin: 24px auto;
	padding: 28px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.sdm-front-card h2,
.sdm-front-card h3,
.sdm-account-header h2 {
	margin-top: 0;
	color: #172033;
}

.sdm-front-intro,
.sdm-front-note,
.sdm-account-header p {
	color: #64748b;
}

.sdm-front-form label,
.sdm-front-form fieldset {
	display: block;
	margin: 0 0 18px;
	font-weight: 600;
	color: #263247;
}

.sdm-front-form label > span,
.sdm-front-form legend > span {
	color: #c62828;
}

.sdm-front-form input[type="text"],
.sdm-front-form input[type="email"],
.sdm-front-form input[type="password"],
.sdm-front-form input[type="tel"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	margin-top: 7px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	background: #fff;
	font: inherit;
}

.sdm-front-form input[readonly] {
	background: #f8fafc;
	color: #64748b;
}

.sdm-form-grid,
.sdm-account-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.sdm-front-form fieldset {
	padding: 18px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.sdm-referral-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px;
	margin-top: 14px;
}

.sdm-referral-options label,
.sdm-front-form .sdm-check {
	margin: 0;
	font-weight: 400;
}

.sdm-other-source {
	margin-top: 16px !important;
}

.sdm-front-button,
.sdm-secondary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: 9px;
	background: #3659c9;
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
}

.sdm-secondary-button {
	background: #eef2ff;
	color: #2946a0 !important;
}

.sdm-form-links {
	margin: 16px 0 0;
}

.sdm-field-help {
	margin: -8px 0 18px;
	color: #64748b;
	font-size: 14px;
}

.sdm-zaiti-summary {
	display: flex;
	margin: 20px 0;
	padding: 16px;
	border: 1px solid #c7d2fe;
	border-radius: 10px;
	background: #eef2ff;
	flex-direction: column;
	gap: 4px;
	color: #263247;
}

.sdm-zaiti-summary span {
	color: #64748b;
}

.sdm-zaiti-claim-form {
	margin: 22px 0;
}

.sdm-front-message {
	box-sizing: border-box;
	max-width: 760px;
	margin: 18px auto;
	padding: 14px 16px;
	border-left: 5px solid #3b82f6;
	background: #eff6ff;
}

.sdm-front-message-error {
	border-color: #dc2626;
	background: #fef2f2;
}

.sdm-front-message-success {
	border-color: #16a34a;
	background: #f0fdf4;
}

.sdm-account {
	max-width: 1100px;
	margin: 0 auto;
}

.sdm-account-header {
	display: flex;
	max-width: none;
	align-items: center;
	justify-content: space-between;
}

.sdm-account-header p {
	margin-bottom: 0;
}

.sdm-account-grid .sdm-front-card {
	margin: 0;
}

.sdm-profile-card {
	max-width: none;
}

.sdm-card-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 24px 0 0;
}

.sdm-trial-confirmation {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

.sdm-payment-history {
	max-width: none;
}

.sdm-details {
	display: grid;
	grid-template-columns: minmax(130px, 1fr) 1.4fr;
	gap: 10px 16px;
}

.sdm-details dt {
	font-weight: 700;
}

.sdm-details dd {
	margin: 0;
}

.sdm-badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 99px;
	background: #e2e8f0;
}

.sdm-badge-active {
	background: #dcfce7;
	color: #166534;
}

.sdm-badge-expired,
.sdm-badge-canceled {
	background: #fee2e2;
	color: #991b1b;
}

.sdm-responsive-table {
	overflow-x: auto;
}

.sdm-responsive-table table {
	width: 100%;
	border-collapse: collapse;
}

.sdm-responsive-table th,
.sdm-responsive-table td {
	padding: 10px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}

.sdm-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 720px) {
	.sdm-form-grid,
	.sdm-account-grid,
	.sdm-referral-options {
		grid-template-columns: 1fr;
	}

	.sdm-front-card,
	.sdm-account-header {
		padding: 20px;
	}

	.sdm-account-header {
		align-items: flex-start;
		gap: 14px;
		flex-direction: column;
	}
}
