/**
 * Frontend profile page styles for Asystio plugin.
 */

.asystio-profile {
	max-width: 640px;
	margin: 0 auto;
}

.asystio-profile-notice {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin-bottom: 1.25rem;
	font-size: 14px;
}

.asystio-profile-notice--success {
	background: #eaf7ea;
	border: 1px solid #4caf50;
	color: #2e7d32;
}

.asystio-profile-notice--error {
	background: #fdecea;
	border: 1px solid #f44336;
	color: #b71c1c;
}

.asystio-profile-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 2rem;
}

.asystio-profile-avatar {
	display: flex;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.asystio-profile-avatar img,
.asystio-profile-avatar .avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #e0e0e0;
}

.asystio-profile-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.asystio-profile-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.asystio-profile-field label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

.asystio-profile-field .asystio-input {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
}

.asystio-profile-field .asystio-input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
}

.asystio-profile-field-hint {
	font-size: 12px;
	color: #888;
	margin: 0;
}

.asystio-profile-actions {
	margin-top: 0.5rem;
}

.asystio-profile-actions .asystio-button {
	padding: 0.75rem 1.5rem;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.asystio-profile-actions .asystio-button:hover {
	background: #005a87;
}
