@import url("./dashboard-base.css");

.cpi-profile-form {
	background: #f5f5f5;
	padding: 20px;
	border-radius: 5px;
}

.cpi-dealer-profile {
	background: #f5f5f5;
	padding: 20px;
	border-radius: 5px;
}

.cpi-current-picture {
	margin-top: 6px;
	text-align: center;
}

.cpi-current-picture img {
	border: 2px solid var(--cpi-border);
	padding: 2px;
	background: var(--cpi-bg-white);
	max-width: 100px;
	height: auto;
	border-radius: 50%;
}

.cpi-dashboard-actions {
	text-align: center;
	padding: 30px 0;
}

.cpi-dashboard-actions .cpi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--cpi-primary);
	color: #fff;
	padding: 12px 30px;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 16px;
	transition: background 0.3s ease, transform 0.3s ease;
	margin-bottom: 20px;
	font-family: var(--cpi-font);
	line-height: 1.4;
}

.cpi-dashboard-actions .cpi-btn:hover {
	background: var(--cpi-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.cpi-dashboard-actions p {
	margin: 15px 0 0 0;
	color: var(--cpi-text-muted);
	font-size: 14px;
	font-family: var(--cpi-font);
}

.cpi-dashboard-actions a {
	color: var(--cpi-primary);
	text-decoration: none;
	font-weight: 500;
}

.cpi-dashboard-actions a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.cpi-dealer-profile,
	.cpi-profile-form {
		padding: 15px;
	}

	.cpi-current-picture {
		text-align: left;
	}

	.cpi-current-picture img {
		max-width: 84px;
	}

	.cpi-dashboard-actions {
		padding: 20px 0 0;
	}

	.cpi-dashboard-actions .cpi-btn {
		width: 100%;
		padding: 12px 18px;
	}
}
