/* Watts Profile Form — light theme (within normal site template) */

.watts-profile-form {
	max-width: 600px;
	margin: 0 0 40px;
	padding: 32px;
	background: #ffffff;
	border: 1px solid #e2e3e5;
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.watts-profile-form h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 20px;
	color: #212529;
}

.watts-profile-form h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px;
	color: #212529;
}

/* Avatar header */
.watts-profile-avatar {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding: 16px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.watts-profile-avatar img {
	border-radius: 50%;
	width: 64px;
	height: 64px;
}

.watts-profile-avatar-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.watts-profile-avatar-info strong {
	font-size: 16px;
	color: #212529;
}

.watts-profile-avatar-info span {
	font-size: 14px;
	color: #6c757d;
}

/* Form rows */
.watts-profile-form .watts-form-row {
	margin-bottom: 18px;
}

.watts-profile-form .watts-form-row:last-child {
	margin-bottom: 0;
}

/* Two-column rows */
@media (min-width: 481px) {
	.watts-profile-form .watts-form-row:has(.watts-form-col) {
		display: flex;
		gap: 16px;
		margin-bottom: 0;
	}

	.watts-profile-form .watts-form-col {
		flex: 1;
		margin-bottom: 18px;
	}
}

@media (max-width: 480px) {
	.watts-profile-form .watts-form-col {
		margin-bottom: 18px;
	}
}

/* Labels */
.watts-profile-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #495057;
	margin-bottom: 6px;
}

.watts-profile-form label .required {
	color: #dc3545;
}

/* Inputs */
.watts-profile-form input[type="text"],
.watts-profile-form input[type="email"],
.watts-profile-form input[type="tel"],
.watts-profile-form input[type="password"] {
	display: block;
	width: 100%;
	padding: 10px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #212529;
	background: #ffffff;
	border: 1px solid #ced4da;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.watts-profile-form input[type="text"]:focus,
.watts-profile-form input[type="email"]:focus,
.watts-profile-form input[type="tel"]:focus,
.watts-profile-form input[type="password"]:focus {
	border-color: #86b7fe;
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.watts-profile-form input:disabled {
	background: #e9ecef;
	color: #6c757d;
	cursor: not-allowed;
}

/* Hints */
.watts-profile-form .watts-field-hint {
	margin: 4px 0 0;
	font-size: 12px;
	color: #6c757d;
}

/* Divider */
.watts-profile-divider {
	border: none;
	border-top: 1px solid #e9ecef;
	margin: 28px 0 20px;
}

/* Submit button */
.watts-profile-form .watts-submit-btn {
	display: inline-block;
	padding: 12px 32px;
	background: linear-gradient(135deg, #ff1493, #8b5cf6);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: opacity 0.2s;
}

.watts-profile-form .watts-submit-btn:hover {
	opacity: 0.9;
}

/* Messages */
.watts-profile-form .watts-form-messages {
	background: #d1e7dd;
	border: 1px solid #badbcc;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
}

.watts-profile-form .watts-form-messages p {
	margin: 0;
	color: #0f5132;
	font-size: 14px;
}

.watts-profile-form .watts-form-errors {
	background: #f8d7da;
	border: 1px solid #f5c2c7;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
}

.watts-profile-form .watts-form-errors p {
	margin: 0;
	color: #842029;
	font-size: 14px;
}

.watts-profile-form .watts-form-errors p + p {
	margin-top: 6px;
}

/* Responsive */
@media (max-width: 480px) {
	.watts-profile-form {
		padding: 20px 16px;
	}
}
