/* -----------------------------------------------------------------------------
   Group Create Post Modal Shell
   ----------------------------------------------------------------------------- */

.groups.group-home,
.groups.single-item {
	& #bp-nouveau-activity-form.bond-group-create-post-modal {
		padding: 10px 0;
		border: 0;
		background-color: rgba(250, 251, 253, 0.9);
		box-shadow: none;
		overflow: auto;

		& #whats-new-form {
			display: flex;
			flex-direction: column;
			min-height: 0;
			width: min(800px, calc(100vw - 48px));
			max-width: none;
			margin: auto;
			border: 1px solid var(--color-border);
			border-radius: 4px;
			background: #fff;
			box-shadow: 0 6px 24px rgba(18, 43, 70, 0.1);
			overflow: visible;
		}

		& .activity-update-form-overlay {
			background: transparent;
		}

		& #activity-header {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 1rem;
			margin: 0;
			padding: 15px 25px 16px;
			border-bottom: 1px solid var(--color-border);
			background: #f4f4f2;

			& h3 {
				margin: 0;
				color: #37322d;
				font: 400 20px/26px "DINNextRoundedLTProRegular", arial, sans-serif;
			}

			& .bb-modal-header-actions {
				display: inline-flex;
				align-items: center;
				justify-content: flex-end;
				flex: 1 1 auto;
				gap: 0.5rem;
			}

			& .bb-model-close-button {
				display: inline-flex;
				align-items: center;
				justify-content: center;
				width: 24px;
				height: 24px;
				padding: 0;
				color: #37322d;
				text-decoration: none;

				& .bb-icon-l {
					font-size: 24px;
					line-height: 1;
				}
			}

			& .bb-activity-post-feature-image-button {
				display: none !important;
			}
		}

		& .whats-new-scroll-view {
			max-height: 605px;
			min-height: 150px;
			overflow: auto;
		}

		& .whats-new-form-header {
			padding: 0;
		}

		& #user-status-huddle.bp-activity-huddle {
			display: flex;
			align-items: flex-start;
			padding: 25px 25px 16px;
		}

		& #whats-new-avatar {
			flex: 0 0 auto;
			padding: 0;
		}

		& .activity-post-avatar-container,
		& .activity-post-avatar {
			display: flex;
		}

		& .activity-post-avatar img.avatar {
			width: 36px;
			height: 36px;
			border-radius: 999px;
			object-fit: cover;
		}

		& .activity-post-name-status {
			display: flex;
			align-items: center;
			align-self: stretch;
			padding-top: 2px;
		}

		& #whats-new-heading {
			display: flex;
			align-items: center;
			min-height: 36px;

			& h5 {
				margin: 0;
				font: 400 20px/20px "DINNextRoundedLTProRegular", arial, sans-serif;
			}

			& .activity-post-user-name {
				color: var(--color-bond-red);
				text-decoration: none;
			}
		}

		& #whats-new-status,
		& #activity-schedule-section,
		& #whats-new-privacy-stage {
			display: none !important;
		}

		& #whats-new-content {
			display: flex;
			flex-direction: column;
			gap: 12px;
			padding: 0 25px;
		}

		& #whats-new-title,
		& #whats-new-textarea {
			width: 100%;
			border: 1px solid #d2d0c8;
			border-radius: 4px;
			background: #fff;
			box-shadow: none;
		}

		& #whats-new-title {
			min-height: 50px;
			margin: 0;
			padding: 11px 16px !important;
			border: 1px solid #d2d0c8 !important;
			background: #fff !important;
			color: #37322d;
			font: 400 18px/27px "DINNextRoundedLTProRegular", arial, sans-serif !important;
			outline: none;

			&::placeholder {
				color: #757575;
				opacity: 1;
			}

			&:focus-visible {
				outline: 2px solid var(--color-bond-red);
				outline-offset: 2px;
			}
		}

		& #whats-new-textarea {
			min-height: 95px;
			padding: 11px 16px;
		}

		& #whats-new {
			min-height: 72px;
			margin: 0;
			padding: 0;
			border: 0;
			background: transparent;
			box-shadow: none;
			color: #37322d;
			font: 400 17px/25.5px "DINNextRoundedLTProRegular", arial, sans-serif;
			overflow: hidden;

			&.medium-editor-placeholder::after {
				top: 0;
				left: 0;
				color: #bbb;
				font: 400 17px/25.5px "DINNextRoundedLTProRegular", arial, sans-serif;
				opacity: 1;
			}

			&:focus-visible {
				outline: none;
			}
		}

		& #whats-new-attachments {
			padding: 0 25px 16px;
		}
	}
}
