.impex-profile {
	width: 100%;
}

.impex-profile__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px;
}

.impex-profile__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.impex-profile__logo {
	width: 120px;
	height: 80px;
	object-fit: contain;
	border: 1px solid #dce3e9;
	border-radius: 8px;
	background: #ffffff;
	padding: 8px;
}

.impex-profile__notice {
	grid-column: 1 / -1;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px solid;
	border-radius: 4px;
}

.impex-profile__notice--success {
	border-color: #2f855a;
	background: #f0fff4;
	color: #22543d;
}

.impex-profile__notice--warning {
	border-color: #b7791f;
	background: #fffaf0;
	color: #744210;
}

.impex-profile__notice--error {
	border-color: #c53030;
	background: #fff5f5;
	color: #742a2a;
}

.impex-profile__eyebrow {
	margin: 0 0 8px;
	color: #556270;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.impex-profile__header h1 {
	margin: 0;
	color: #17212b;
	font-size: clamp(32px, 5vw, 48px);
}

.impex-profile__form {
	padding: 24px;
	border: 1px solid #dce3e9;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffffff, #edf5ff);
	box-shadow: 0 8px 24px rgb(23 33 43 / 7%);
}

.impex-profile__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.impex-profile__fields p {
	margin: 0;
}

.impex-profile label {
	display: block;
	margin-bottom: 8px;
	color: #17212b;
	font-weight: 700;
}

.impex-profile input,
.impex-profile textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #9ba8b4;
	border-radius: 4px;
	background: #ffffff;
	font: inherit;
}

.impex-profile input[readonly],
.impex-profile textarea[readonly] {
	background: #f5f7f9;
	color: #556270;
}

.impex-profile input:focus,
.impex-profile textarea:focus {
	border-color: #1d4f7a;
	outline: 3px solid rgb(29 79 122 / 20%);
}

.impex-profile__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.impex-profile__submit,
.impex-profile__password {
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background: #1d4f7a;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.impex-profile__password {
	background: #556270;
}

.impex-profile__submit:disabled,
.impex-profile__password:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.impex-profile__password-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; margin-top: 20px; padding-top: 20px; border-top: 1px solid #dce3e9; }
.impex-profile__password-form label { margin: 0; }
.impex-profile__password-form input { margin-top: 8px; }
@media (max-width: 700px) { .impex-profile__password-form { grid-template-columns: 1fr; } }

.impex-profile__social-connections {
	grid-column: 1 / -1;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin-top: 24px;
	padding: 24px;
	border: 1px solid #dce3e9;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 8px 24px rgb(23 33 43 / 7%);
}

.impex-profile__social-connections h2 {
	margin: 0 0 20px;
	color: #17212b;
	font-size: 24px;
}

.impex-profile__social-statuses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.impex-profile__social-statuses p {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 14px;
	border: 1px solid #dce3e9;
	border-radius: 4px;
	background: #f5f7f9;
}

.impex-profile__social-statuses span {
	color: #556270;
}

.impex-profile__social-statuses .impex-profile__connected {
	color: #2f855a;
	font-weight: 700;
}

.impex-profile__disconnect-form {
	margin-top: 12px;
}

.impex-profile__disconnect {
	padding: 12px 20px;
	border: 1px solid #c53030;
	border-radius: 4px;
	background: #ffffff;
	color: #c53030;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.impex-profile__page-selection {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #dce3e9;
}

.impex-profile__page-selection fieldset {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

.impex-profile__page-selection legend {
	margin-bottom: 12px;
	color: #17212b;
	font-weight: 700;
}

.impex-profile__page-option {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
	padding: 10px 12px;
	border: 1px solid #dce3e9;
	border-radius: 4px;
	background: #f5f7f9;
	cursor: pointer;
}

.impex-profile__page-option input {
	width: auto;
	margin: 0;
}

@media (max-width: 600px) {
	.impex-profile__header { align-items: flex-start; flex-direction: column; }

	.impex-profile__container {
		padding: 32px 16px;
	}

	.impex-profile__form {
		padding: 20px;
	}

	.impex-profile__fields {
		grid-template-columns: 1fr;
	}

	.impex-profile__social-statuses {
		grid-template-columns: 1fr;
	}
}
