/* START: MyPlanet Layout */

.kol-myplanet-wrapper {
	display: block;
	background-color: var(--kol-myplanet-profile-bg, #ffffff);
	padding: 0;
	margin: 0;
}

.kol-myplanet-grid {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	padding: 40px;
	max-width: 1400px;
	margin: 0 auto;
}

@media (max-width: 1024px) {
	.kol-myplanet-grid {
		grid-template-columns: 250px 1fr;
		gap: 20px;
		padding: 30px;
	}
}

@media (max-width: 768px) {
	.kol-myplanet-grid {
		grid-template-columns: 1fr;
		gap: 25px;
		padding: 20px;
	}
}

.kol-myplanet-left {
	display: flex;
	flex-direction: column;
	gap: 25px;
	position: sticky;
	top: 20px;
	max-height: fit-content;
}

@media (max-width: 768px) {
	.kol-myplanet-left {
		position: static;
	}
}

.kol-myplanet-right {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

/* END: MyPlanet Layout */

/* START: MyPlanet Background Blocks */

.kol-myplanet-bg-blocks {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 5px;
	margin-bottom: 20px;
	height: 80px;
}

.kol-myplanet-bg-block {
	border-radius: 4px;
	cursor: pointer;
	transition: transform 0.2s ease;
	border: 2px solid transparent;
}

.kol-myplanet-bg-block:hover {
	transform: scale(1.05);
	border-color: rgba(0, 0, 0, 0.2);
}

/* END: MyPlanet Background Blocks */

/* START: MyPlanet Profile Card */

.kol-myplanet-profile-card {
	background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 25px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease;
}

.kol-myplanet-profile-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.kol-myplanet-avatar {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
}

.kol-myplanet-avatar img {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 4px solid var(--kol-myplanet-accent, #0085ba);
	object-fit: cover;
	box-shadow: 0 2px 8px rgba(0, 133, 186, 0.2);
	transition: transform 0.3s ease;
}

.kol-myplanet-avatar img:hover {
	transform: scale(1.05);
}

.kol-myplanet-username {
	margin: 15px 0 5px 0;
	font-size: 20px;
	font-weight: 700;
	color: #1f2937;
	word-break: break-word;
}

.kol-myplanet-member-since {
	font-size: 13px;
	color: #6b7280;
	margin: 10px 0 0 0;
	font-weight: 500;
}

.kol-myplanet-member-since strong {
	color: #1f2937;
	font-weight: 600;
}

.kol-myplanet-profile-info {
	text-align: center;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e5e7eb;
}

.kol-myplanet-actions {
	margin-top: 15px;
}

.kol-myplanet-actions a.bp-button,
.kol-myplanet-actions .bp-button {
	display: inline-block;
	background-color: var(--kol-myplanet-accent, #0085ba);
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	transition: background-color 0.2s ease;
	border: none;
	cursor: pointer;
}

.kol-myplanet-actions a.bp-button:hover,
.kol-myplanet-actions .bp-button:hover {
	background-color: #006687;
}

/* END: MyPlanet Profile Card */

/* START: MyPlanet Name Header */

.kol-myplanet-name-header {
	padding: 20px;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 20px;
}

.kol-myplanet-name-header h1 {
	margin: 0;
	font-size: 28px;
	font-weight: bold;
}

/* END: MyPlanet Name Header */

/* START: MyPlanet About Me */

.kol-myplanet-about-me {
	background-color: var(--kol-myplanet-panel-bg, #f9fafb);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.kol-myplanet-about-me h3 {
	margin-top: 0;
	font-size: 18px;
	font-weight: bold;
}

.kol-myplanet-about-editor textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	font-family: monospace;
	font-size: 12px;
}

.kol-myplanet-about-content {
	line-height: 1.6;
	color: #333;
}

/* END: MyPlanet About Me */

/* START: MyPlanet Follower Stats */

.kol-myplanet-follower-stats {
	display: flex;
	gap: 20px;
	padding: 20px;
	background-color: var(--kol-myplanet-panel-bg, #f9fafb);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	justify-content: space-around;
	text-align: center;
}

.stat-item {
	display: flex;
	flex-direction: column;
}

.stat-label {
	font-size: 12px;
	color: #666;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 5px;
}

.stat-value {
	font-size: 24px;
	font-weight: bold;
	color: #1f2937;
}

/* END: MyPlanet Follower Stats */

/* START: MyPlanet Friends List */

.kol-myplanet-friends-list {
	background-color: var(--kol-myplanet-panel-bg, #f9fafb);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.kol-myplanet-friends-list h3 {
	margin-top: 0;
	font-size: 18px;
	font-weight: bold;
}

.kol-myplanet-friends-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-top: 15px;
}

@media (max-width: 768px) {
	.kol-myplanet-friends-grid {
		grid-template-columns: 1fr;
	}

	.kol-myplanet-name-header {
		padding: 16px;
		margin-bottom: 16px;
	}

	.kol-myplanet-name-header h1 {
		font-size: 22px;
	}

	.kol-myplanet-profile-card {
		padding: 20px;
	}

	.kol-myplanet-avatar img {
		width: 110px;
		height: 110px;
		border-width: 3px;
	}

	.kol-myplanet-username {
		font-size: 18px;
		margin: 12px 0 4px 0;
	}

	.kol-myplanet-member-since {
		font-size: 12px;
	}

	.kol-myplanet-actions a.bp-button,
	.kol-myplanet-actions .bp-button {
		padding: 8px 16px;
		font-size: 12px;
	}

	.kol-myplanet-follower-stats {
		gap: 15px;
		padding: 16px;
	}

	.stat-item {
		min-width: 0;
	}

	.stat-value {
		font-size: 20px;
	}

	.kol-myplanet-friends-list {
		padding: 16px;
	}

	.kol-myplanet-bg-blocks {
		height: 60px;
		gap: 4px;
		grid-template-columns: repeat(4, 1fr);
	}

	.kol-myplanet-about-me {
		padding: 16px;
	}

	.kol-myplanet-about-me h3 {
		font-size: 16px;
	}

	.kol-myplanet-message-form {
		padding: 16px;
	}

	.kol-myplanet-message-form h3 {
		font-size: 16px;
	}

	.kol-myplanet-message-form button {
		width: 100%;
		padding: 10px 16px;
		min-height: 44px;
	}

	.kol-myplanet-widget {
		padding: 12px;
		margin-bottom: 16px;
	}

	.kol-myplanet-widget-title {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.kol-myplanet-wrapper {
		padding: 0;
	}

	.kol-myplanet-grid {
		gap: 12px;
		padding: 12px;
	}

	.kol-myplanet-left {
		gap: 16px;
	}

	.kol-myplanet-right {
		gap: 16px;
	}

	.kol-myplanet-profile-card {
		padding: 16px;
		border-radius: 8px;
	}

	.kol-myplanet-avatar {
		margin-bottom: 14px;
	}

	.kol-myplanet-avatar img {
		width: 90px;
		height: 90px;
		border-width: 2px;
	}

	.kol-myplanet-username {
		font-size: 16px;
		margin: 10px 0 2px 0;
	}

	.kol-myplanet-member-since {
		font-size: 11px;
		margin: 6px 0 0 0;
	}

	.kol-myplanet-profile-info {
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid #e5e7eb;
	}

	.kol-myplanet-actions {
		margin-top: 10px;
	}

	.kol-myplanet-actions a.bp-button,
	.kol-myplanet-actions .bp-button {
		display: block;
		padding: 10px 14px;
		font-size: 11px;
		min-height: 44px;
		width: 100%;
	}

	.kol-myplanet-name-header {
		padding: 12px;
		margin-bottom: 12px;
	}

	.kol-myplanet-name-header h1 {
		font-size: 18px;
		margin: 0;
	}

	.kol-myplanet-follower-stats {
		gap: 10px;
		padding: 12px;
		flex-direction: column;
	}

	.stat-item {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.stat-label {
		text-align: left;
		font-size: 10px;
		margin-bottom: 0;
	}

	.stat-value {
		text-align: right;
		font-size: 18px;
	}

	.kol-myplanet-friends-grid {
		gap: 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kol-myplanet-friend-card {
		padding: 8px;
	}

	.kol-myplanet-friend-avatar {
		margin-bottom: 8px;
	}

	.kol-myplanet-friend-avatar img {
		width: 48px;
		height: 48px;
		border-width: 1px;
	}

	.kol-myplanet-friend-card h4 {
		font-size: 12px;
		margin: 4px 0;
	}

	.kol-myplanet-bg-blocks {
		height: 48px;
		gap: 3px;
		grid-template-columns: repeat(3, 1fr);
		margin-bottom: 16px;
	}

	.kol-myplanet-about-me,
	.kol-myplanet-message-form {
		padding: 12px;
		border-radius: 6px;
	}

	.kol-myplanet-about-me h3,
	.kol-myplanet-message-form h3 {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.kol-myplanet-about-editor textarea,
	.kol-myplanet-message-form textarea {
		padding: 8px;
		font-size: 13px;
		min-height: 80px;
	}

	.kol-myplanet-message-form .form-group {
		margin-bottom: 10px;
	}

	.kol-myplanet-message-form button {
		width: 100%;
		padding: 10px 12px;
		min-height: 44px;
		font-size: 13px;
	}

	.kol-myplanet-widget {
		padding: 10px;
		margin-bottom: 12px;
		border-radius: 6px;
	}

	.kol-myplanet-widget-title {
		font-size: 13px;
		margin-bottom: 10px;
	}

	.kol-myplanet-view-all {
		text-align: center;
		margin-top: 10px;
	}

	.kol-myplanet-view-all a {
		font-size: 12px;
	}
}

@media (max-width: 375px) {
	.kol-myplanet-grid {
		padding: 8px;
		gap: 8px;
	}

	.kol-myplanet-profile-card {
		padding: 12px;
	}

	.kol-myplanet-avatar img {
		width: 80px;
		height: 80px;
	}

	.kol-myplanet-username {
		font-size: 15px;
	}

	.kol-myplanet-name-header h1 {
		font-size: 16px;
	}

	.kol-myplanet-follower-stats {
		gap: 8px;
		padding: 10px;
	}

	.kol-myplanet-friends-grid {
		gap: 10px;
	}

	.kol-myplanet-friend-avatar img {
		width: 44px;
		height: 44px;
	}
}

.kol-myplanet-friend-card {
	text-align: center;
	padding: 10px;
	background-color: #fff;
	border-radius: 4px;
}

.kol-myplanet-friend-avatar {
	display: inline-block;
	margin-bottom: 10px;
}

.kol-myplanet-friend-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid #ddd;
	object-fit: cover;
}

.kol-myplanet-friend-card h4 {
	margin: 5px 0;
	font-size: 14px;
}

.kol-myplanet-friend-card a {
	color: var(--kol-myplanet-accent, #0085ba);
	text-decoration: none;
}

.kol-myplanet-friend-card a:hover {
	text-decoration: underline;
}

.kol-myplanet-view-all {
	text-align: center;
	margin-top: 15px;
}

.kol-myplanet-view-all a {
	color: var(--kol-myplanet-accent, #0085ba);
	text-decoration: none;
	font-weight: bold;
}

.kol-myplanet-view-all a:hover {
	text-decoration: underline;
}

/* END: MyPlanet Friends List */

/* START: MyPlanet Message Form */

.kol-myplanet-message-form {
	background-color: var(--kol-myplanet-panel-bg, #f9fafb);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.kol-myplanet-message-form h3 {
	margin-top: 0;
	font-size: 18px;
	font-weight: bold;
}

.kol-myplanet-message-form .form-group {
	margin-bottom: 15px;
}

.kol-myplanet-message-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	font-family: Arial, sans-serif;
	font-size: 14px;
	resize: vertical;
}

.kol-myplanet-message-form button {
	background-color: var(--kol-myplanet-accent, #0085ba);
	color: #fff;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
}

.kol-myplanet-message-form button:hover {
	background-color: #006687;
}

/* END: MyPlanet Message Form */

/* START: MyPlanet Widgets */

.kol-myplanet-widget {
	background-color: var(--kol-myplanet-panel-bg, #f9fafb);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.kol-myplanet-widget-title {
	margin: 0 0 15px 0;
	font-size: 16px;
	font-weight: bold;
	padding-bottom: 10px;
	border-bottom: 2px solid #e5e7eb;
}

/* END: MyPlanet Widgets */
