.page-profile .container-profile {
	padding: 16px 18px 80px;
	background-color: transparent;
	box-sizing: border-box;
}

.page-profile .profile-card.item-profile-post {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(0, 70, 148, 0.12);
	overflow: hidden;
}

.page-profile .profile-card-header {
	padding: 24px 18px 16px;
	text-align: center;
	background: linear-gradient(180deg, #eef4e4 0%, rgba(255, 255, 255, 0) 100%);
	border-bottom: 1px solid rgba(0, 70, 148, 0.08);
}

.page-profile .profile-avatar-wrap {
	width: 120px;
	height: 120px;
	margin: 0 auto 14px;
	border-radius: 50%;
	border: 4px solid #fff;
	box-shadow: 0 4px 16px rgba(0, 70, 148, 0.2);
	overflow: hidden;
	background-color: #004694;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-profile .profile-avatar-wrap--placeholder {
	background-color: #004694;
	padding: 8px;
	box-sizing: border-box;
}

.page-profile .profile-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.page-profile .profile-avatar-wrap--placeholder .profile-avatar-img {
	object-fit: contain;
	padding: 4px;
	box-sizing: border-box;
}

.page-profile .profile-user-name {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #004694;
	text-transform: uppercase;
	font-family: Montserrat-bold, sans-serif;
	line-height: 1.3;
	letter-spacing: 0.3px;
}

.page-profile .profile-card-body {
	padding: 18px 16px 22px;
}

.page-profile .profile-form-grid {
	margin: 0;
	padding: 0;
	border: none;
}

.page-profile .profile-form-section {
	margin: 0 0 20px;
	padding: 0;
	border: none;
	min-width: 0;
}

.page-profile .profile-form-section:last-of-type {
	margin-bottom: 8px;
}

.page-profile .profile-section-title {
	display: block;
	width: 100%;
	margin: 0 0 14px;
	padding: 0 0 8px;
	border-bottom: 2px solid #85b037;
	font-size: 14px;
	font-weight: 700;
	color: #004694;
	text-transform: uppercase;
	font-family: Montserrat-medium, sans-serif;
	letter-spacing: 0.5px;
}

.page-profile .profile-fields-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
}

.page-profile .profile-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	width: auto;
	min-width: 0;
}

.page-profile .profile-field--full {
	grid-column: 1 / -1;
}

.page-profile .profile-field label {
	margin: 0;
	padding: 0;
	border: none;
	width: auto;
	height: auto;
	font-size: 12px;
	font-weight: 600;
	color: #004694;
	font-family: Montserrat-medium, sans-serif;
	line-height: 1.3;
}

.page-profile .profile-field .obligado {
	color: #85b037;
	font-weight: 700;
}

.page-profile .profile-field .input-style,
.page-profile .profile-field .tmtl-field,
.page-profile .profile-field input,
.page-profile .profile-field select {
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 2px solid #85b037;
	border-radius: 4px;
	background-color: #f5f9ee;
	color: #004694;
	font-size: 14px;
	font-family: Montserrat-medium, sans-serif;
	font-weight: 600;
	box-sizing: border-box;
}

.page-profile .profile-field input[readonly] {
	background-color: #eef2f8;
	opacity: 0.95;
}

.page-profile .profile-field input:focus,
.page-profile .profile-field select:focus {
	outline: none;
	border-color: #004694;
}

.page-profile .profile-field select {
	appearance: auto;
	min-height: 42px;
}

.page-profile .profile-form-actions {
	margin-top: 8px;
	padding-top: 8px;
	width: 100%;
}

.page-profile .profile-form-actions .tmtl-btn,
.page-profile .profile-form-actions button {
	display: block;
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
	padding: 14px 20px;
	background-color: #004694;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	font-family: Montserrat-medium, sans-serif;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 70, 148, 0.25);
}

.page-profile .profile-form-actions button:disabled {
	opacity: 0.7;
	cursor: wait;
}

@media (max-width: 520px) {
	.page-profile .profile-fields-grid {
		grid-template-columns: 1fr;
	}

	.page-profile .profile-field--full {
		grid-column: auto;
	}
}
