.maz-form,
.maz-account {
	box-sizing: border-box;
}

.maz-form *,
.maz-account * {
	box-sizing: border-box;
}

.maz-form label {
	display: block;
	font-weight: 600;
	margin-bottom: .35rem;
}

.maz-form input:not([type="checkbox"]):not([type="radio"]),
.maz-form select,
.maz-form textarea {
	background: #fff;
	border: 1px solid var(--maz-border, #e6e7eb);
	border-radius: 8px;
	font: inherit;
	max-width: 100%;
	padding: .75rem;
	width: 100%;
}

.maz-form-section {
	border: 1px solid var(--maz-border, #e6e7eb);
	border-radius: var(--maz-card-radius, 12px);
	margin: 0 0 1rem;
	padding: 1rem;
}

.maz-form-section legend {
	font-weight: 700;
	padding: 0 .4rem;
}

.maz-form-grid {
	display: grid;
	gap: 0 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maz-checkbox {
	display: flex !important;
	font-weight: 400 !important;
	gap: .55rem;
	line-height: 1.5;
}

.maz-button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--maz-primary, #ed265b);
	border-radius: 8px;
	color: var(--maz-primary, #ed265b);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 600;
	justify-content: center;
	min-height: 42px;
	padding: .65rem 1rem;
	text-decoration: none;
}

.maz-button--primary {
	background: var(--maz-primary, #ed265b);
	color: #fff;
}

.maz-button--danger {
	border-color: #b42318;
	color: #b42318;
}

.maz-button--whatsapp {
	background: #128c52;
	border-color: #128c52;
	color: #fff;
}

.maz-notice {
	border-left: 4px solid #2271b1;
	margin: 0 0 1rem;
	padding: .8rem 1rem;
}

.maz-notice--success {
	background: #edf9f0;
	border-color: #16803a;
}

.maz-notice--error {
	background: #fff2f0;
	border-color: #b42318;
}

.maz-account {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
}

.maz-account-nav {
	display: flex;
	flex-direction: column;
}

.maz-account-nav a {
	border-bottom: 1px solid var(--maz-border, #e6e7eb);
	color: inherit;
	padding: .8rem;
	text-decoration: none;
}

.maz-account-nav a.is-active {
	border-left: 3px solid var(--maz-primary, #ed265b);
	color: var(--maz-primary, #ed265b);
	font-weight: 700;
}

.maz-dashboard-stats {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.maz-dashboard-stats > div,
.maz-my-ad {
	border: 1px solid var(--maz-border, #e6e7eb);
	border-radius: var(--maz-card-radius, 12px);
	padding: 1rem;
}

.maz-dashboard-stats strong,
.maz-dashboard-stats span {
	display: block;
}

.maz-dashboard-stats strong {
	font-size: 1.5rem;
}

.maz-my-ads-header,
.maz-my-ad,
.maz-my-ad-actions,
.maz-contact-card {
	align-items: center;
	display: flex;
	gap: 1rem;
}

.maz-my-ads-header {
	justify-content: space-between;
}

.maz-my-ad {
	margin-bottom: .75rem;
}

.maz-my-ad-thumb {
	flex: 0 0 90px;
}

.maz-my-ad-thumb img,
.maz-existing-photos img {
	border-radius: 8px;
	height: 80px;
	object-fit: cover;
	width: 80px;
}

.maz-my-ad-info {
	flex: 1;
}

.maz-my-ad-info h3 {
	margin: 0;
}

.maz-my-ad-actions form {
	display: inline;
	margin: 0;
}

.maz-link-button {
	background: none;
	border: 0;
	color: var(--maz-primary, #ed265b);
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: underline;
}

.maz-link-button--danger {
	color: #b42318;
}

.maz-super-badge {
	background: #ffd84a;
	border-radius: 4px;
	color: #302800;
	font-size: .72em;
	padding: .2em .45em;
}

.maz-existing-photos {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.maz-existing-photos label {
	font-size: .85rem;
}

.maz-honeypot {
	left: -9999px;
	position: absolute;
}

@media (max-width: 720px) {
	.maz-account,
	.maz-form-grid,
	.maz-dashboard-stats {
		grid-template-columns: 1fr;
	}

	.maz-account-nav {
		overflow-x: auto;
		flex-direction: row;
	}

	.maz-account-nav a {
		flex: 0 0 auto;
	}

	.maz-my-ad {
		align-items: flex-start;
	}

	.maz-my-ad-actions {
		align-items: flex-start;
		flex-wrap: wrap;
	}
}

@media (max-width: 390px) {
	.maz-my-ad {
		flex-direction: column;
	}
}

