/*
 * Shared Community page stylesheet enqueued after TEC Community styles. Test
 */

.tribe-community-events-content {
	margin: 0 16px 0 12px !important;
	padding: var(--tec-spacer-5) !important;
}

.tribe-community-events.form {
	border: 0 !important;
}

/*
 * The edit/add Community wrappers can expose an extra outer border depending
 * on which template path TEC resolves. Remove that border consistently.
 */
.tribe_community_add #tribe-community-events,
.tribe_community_edit #tribe-community-events,
.tribe_community_list #tribe-community-events,
.tribe_community_add .tribe-community-events-content,
.tribe_community_edit .tribe-community-events-content,
.tribe_community_list .tribe-community-events-content,
.tribe_community_add .tribe-community-events,
.tribe_community_edit .tribe-community-events,
.tribe_community_list .tribe-community-events {
	border: 0 !important;
	box-shadow: none !important;
	padding: 3.5rem;
}

/*
 * Let the add/edit event screens use the full available width instead of the
 * default TEC page max-width wrapper.
 */
.tribe_community_add #tribe-events-pg-template,
.tribe_community_add .tribe-events-pg-template,
.tribe_community_edit #tribe-events-pg-template,
.tribe_community_edit .tribe-events-pg-template,
.tribe_community_list #tribe-events-pg-template,
.tribe_community_list .tribe-events-pg-template {
	max-width: none;
}

.tribe-community-events-content .tribe-community-events #user_pass {
	display: inline;
}

/*
 * The Community login fallback uses WordPress core markup rather than the
 * shared DJ Admin templates, so restyle that state to match the same area.
 */
.tribe-community-events-content.rw-community-login-content {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.tribe-community-events.rw-community-login-state {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tribe-community-events.rw-community-login-state .rw-community-login-header {
	align-items: flex-start;
	border: 0 !important;
	display: flex;
	flex-direction: column;
	margin: 0 0 2rem;
	padding: 0;
}

.tribe-community-events.rw-community-login-state .rw-community-admin-title {
	color: #114552 !important;
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 1.2;
	margin: 0 !important;
}

.tribe-community-events.rw-community-login-state > p,
.tribe-community-events.rw-community-login-state .login-username,
.tribe-community-events.rw-community-login-state .login-password,
.tribe-community-events.rw-community-login-state .login-remember,
.tribe-community-events.rw-community-login-state .login-submit {
	margin: 0 0 1.5rem;
}

.tribe-community-events.rw-community-login-state > p {
	color: #114552;
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.5;
}

.tribe-community-events.rw-community-login-state label {
	color: #114552;
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.tribe-community-events.rw-community-login-state input[type="text"],
.tribe-community-events.rw-community-login-state input[type="password"] {
	background: #fff;
	border: 1px solid #dcd7ca;
	border-radius: 4px;
	color: #114552;
	display: block;
	font-family: asap, sans-serif;
	font-size: 1.8rem;
	line-height: 1.5;
	max-width: 640px;
	padding: 1rem 1.2rem;
	width: 100%;
}

.tribe-community-events.rw-community-login-state input[type="text"]:focus,
.tribe-community-events.rw-community-login-state input[type="password"]:focus {
	border-color: #114552;
	outline: 0;
}

.tribe-community-events.rw-community-login-state .login-remember label {
	align-items: center;
	display: inline-flex;
	font-size: 1.8rem;
	font-weight: 500;
	gap: 0.5rem;
	margin: 0;
	text-transform: none;
}

.tribe-community-events.rw-community-login-state .login-remember input[type="checkbox"] {
	margin: 0;
}

.tribe-community-events.rw-community-login-state .login-submit {
	margin-top: 0.5rem;
}

.tribe-community-events.rw-community-login-state .login-submit input[type="submit"] {
	background: #2fb6d9;
	border: 1px solid #2fb6d9;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font-size: 1.5rem;
	font-weight: 700;
	padding: 0.95rem 1.4rem;
}

.tribe-community-events.rw-community-login-state .login-submit input[type="submit"]:hover,
.tribe-community-events.rw-community-login-state .login-submit input[type="submit"]:focus {
	background: #1c8fb0;
	border-color: #1c8fb0;
	color: #fff;
}

.tribe-community-events-content .tribe-community-events.form .tribe-section-venue,
.tribe-community-events-content .tribe-community-events.form .tribe-section-virtual,
.tribe-community-events-content .tribe-community-events.form .tribe-section-custom-fields .tribe-field-type-checkbox,
.tribe-community-events-content .tribe-community-events.form .tribe-section-taxonomy--tribe_events_cat,
.tribe-community-events-content .tribe-community-events.form .tribe-section-cost,
.tribe-community-events-content .tribe-community-events.form .tribe-section-event-status,
.tribe-community-events-content .tribe-community-events.form .tribe-section-website {
	display: none;
}

.tribe-community-events-content .column-header-venue,
.tribe-community-events-content .tribe-list-column-venue,
.tribe-community-events-content .column-header-recurring,
.tribe-community-events-content .tribe-list-column-recurring,
.tribe-community-events-content .column-header-category,
.tribe-community-events-content .tribe-list-column-category,
.tribe-community-events-content .column-header-status,
.tribe-community-events-content .tribe-list-column-status,
.tribe-community-events-content .table-menu-wrapper {
	display: none !important;
}

/*
 * Use one shared DJ Admin form button color across Community edit screens.
 */
.tribe_community_edit .tribe-button.submit,
.tribe_community_list .tribe-button.submit {
	background: #2fb6d9 !important;
	border-color: #2fb6d9 !important;
	color: #fff !important;
}

.tribe-community-events.form .tribe-section-custom-fields #tribe_custom-_ecp_custom_3-Reasonforedit {
	width: 100%;
}

.tribe-community-events-content .tribe-community-events-list-title {
	color: #114552;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0px 0 30px 0;
}

.tribe-community-events-content .rw-show-management-heading {
	color: #114552;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 3rem 0 1.5rem;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-admin-title,
.tribe-community-events.form .my-events-header .rw-community-admin-title,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-admin-title,
.tribe_community_add .my-events-header .rw-community-admin-title,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-admin-title,
.tribe_community_edit .my-events-header .rw-community-admin-title {
	color: #114552;
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 1.2;
	margin: 0px 0 10px 0 !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header,
.tribe-community-events.form .my-events-header,
.tribe_community_add #tribe-community-events .my-events-header,
.tribe_community_add .my-events-header,
.tribe_community_edit #tribe-community-events .my-events-header,
.tribe_community_edit .my-events-header {
	align-items: flex-start !important;
	border-bottom: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions,
.tribe-community-events.form .my-events-header .rw-community-manage-actions,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions,
.tribe_community_add .my-events-header .rw-community-manage-actions,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions,
.tribe_community_edit .my-events-header .rw-community-manage-actions {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.75rem !important;
	margin-bottom: 0 !important;
	/* Keep the action row off the heading without changing button spacing. */
	margin-top: 1rem !important;
	width: 100% !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary {
	background: #114552 !important;
	border: 1px solid #114552 !important;
	color: #fff !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button {
	margin: 0 !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button:first-child,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button:first-child,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button:first-child,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button:first-child,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button:first-child,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button:first-child {
	margin-left: 0 !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .dj-handbook,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .dj-handbook,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .dj-handbook,
.tribe_community_add .my-events-header .rw-community-manage-actions .dj-handbook,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .dj-handbook,
.tribe_community_edit .my-events-header .rw-community-manage-actions .dj-handbook {
	margin-left: auto !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .logout,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .logout,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .logout,
.tribe_community_add .my-events-header .rw-community-manage-actions .logout,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .logout,
.tribe_community_edit .my-events-header .rw-community-manage-actions .logout {
	margin-left: 0 !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header h2.my-events,
.tribe-community-events.form .my-events-header h2.my-events,
.tribe_community_add #tribe-community-events .my-events-header h2.my-events,
.tribe_community_add .my-events-header h2.my-events,
.tribe_community_edit #tribe-community-events .my-events-header h2.my-events,
.tribe_community_edit .my-events-header h2.my-events {
	color: #114552;
	font-size: 3rem !important;
	font-weight: 700 !important;
	line-height: 1.2;
	margin: 3rem 0 1.5rem !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-form-heading-row,
.tribe-community-events.form .my-events-header .rw-community-form-heading-row,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-form-heading-row,
.tribe_community_add .my-events-header .rw-community-form-heading-row,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-form-heading-row,
.tribe_community_edit .my-events-header .rw-community-form-heading-row {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 2.5rem 0 1.5rem;
	width: 100%;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-form-heading-row h2.my-events,
.tribe-community-events.form .my-events-header .rw-community-form-heading-row h2.my-events,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-form-heading-row h2.my-events,
.tribe_community_add .my-events-header .rw-community-form-heading-row h2.my-events,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-form-heading-row h2.my-events,
.tribe_community_edit .my-events-header .rw-community-form-heading-row h2.my-events {
	margin: 0 !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-form-heading-link,
.tribe-community-events.form .my-events-header .rw-community-form-heading-link,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-form-heading-link,
.tribe_community_add .my-events-header .rw-community-form-heading-link,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-form-heading-link,
.tribe_community_edit .my-events-header .rw-community-form-heading-link {
	align-items: center;
	background: rgba(47, 182, 217, 0.14) !important;
	border: 1px solid #114552 !important;
	border-radius: 4px;
	color: #114552 !important;
	display: inline-flex;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	margin: 0;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-form-heading-link:hover,
#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-form-heading-link:focus,
.tribe-community-events.form .my-events-header .rw-community-form-heading-link:hover,
.tribe-community-events.form .my-events-header .rw-community-form-heading-link:focus,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-form-heading-link:hover,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-form-heading-link:focus,
.tribe_community_add .my-events-header .rw-community-form-heading-link:hover,
.tribe_community_add .my-events-header .rw-community-form-heading-link:focus,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-form-heading-link:hover,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-form-heading-link:focus,
.tribe_community_edit .my-events-header .rw-community-form-heading-link:hover,
.tribe_community_edit .my-events-header .rw-community-form-heading-link:focus {
	background: rgba(47, 182, 217, 0.24) !important;
	border-color: #114552 !important;
	color: #114552 !important;
}

/*
 * Some edit views do not expose the same state classes as add views. Mirror
 * the DJ Admin header styling against the live Community header structure so
 * the buttons and heading still pick up the shared presentation.
 */
.tribe-community-events .my-events-header {
	align-items: flex-start !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
}

.tribe-community-events .my-events-header .rw-community-admin-title {
	color: #114552 !important;
	font-size: 32px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin: 0 0 10px 0 !important;
}

.tribe-community-events .my-events-header .rw-community-manage-actions {
	align-items: center !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.75rem !important;
	margin: 0 !important;
	width: 100% !important;
}

.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary {
	background: #114552 !important;
	border: 1px solid #114552 !important;
	color: #fff !important;
	margin: 0 !important;
}

.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

/*
 * Let the PRS action stand out a little more than the rest of the control
 * row because it is a separate reporting task.
 */
.rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report {
	background: #114552 !important;
	border-color: #114552 !important;
	color: #fff !important;
}

.rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report {
	background: #114552 !important;
	border-color: #114552 !important;
	color: #fff !important;
}

#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
#tribe-community-events.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe-community-events.form .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe_community_add #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe_community_edit #tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button:first-child {
	margin-left: 0 !important;
}

.tribe-community-events .my-events-header .rw-community-manage-actions .dj-handbook {
	margin-left: auto !important;
}

.tribe-community-events .my-events-header .rw-community-manage-actions .logout {
	margin-left: 0 !important;
}

/*
 * Community warning notices should sit below the DJ Admin header block rather
 * than above it on edit screens.
 */
.tribe-community-events .tribe-community-notice {
	border-left: 4px solid;
	margin: 0 0 1.5rem !important;
	padding: 0.85rem 1rem;
}

.tribe-community-events .tribe-community-notice p {
	margin: 0;
}

.tribe-community-events .rw-community-validation-errors ul {
	margin: 0.75rem 0 1rem 1.5rem !important;
}

.tribe-community-events .tribe-community-notice-error {
	background: #fff1f0;
	border-color: #d63638;
}

.tribe-community-events .tribe-community-notice-error a {
	color: inherit;
	font-weight: 700;
}

.tribe-community-events .tribe-community-notice-success,
.tribe-community-events .tribe-community-notice-updated {
	background: #f0f6fc;
	border-color: #0a4b78;
	margin-top: 20px !important;
}

.tribe-community-events .tribe-community-notice-success a,
.tribe-community-events .tribe-community-notice-updated a {
	color: inherit;
	font-weight: 700;
}

.tribe-community-events .tribe-community-notice-warning {
	background: #fff1f0;
	border-color: #d63638;
}

.tribe-community-events .tribe-community-notice-warning a {
	color: inherit;
	font-weight: 700;
}

/*
 * The image module override now renders the current image and the upload
 * controls together. Keep both visible so edit screens can preview the
 * existing image and still replace it immediately.
 */
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .tribe-community-events-preview-image,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .form-controls,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .note {
	display: block !important;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .tribe-community-events-preview-image {
	margin: 0 auto 1.5rem;
	max-width: 320px;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .tribe-community-events-preview-image img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 100%;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .form-controls {
	margin-top: 1.5rem;
	max-width: 250px;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area:not(.has-image) .form-controls {
	margin: 0 auto;
	max-width: 250px;
	text-align: center;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area:not(.has-image) .form-controls .choose-file {
	display: block !important;
	margin-left: auto;
	margin-right: auto;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area:not(.has-image) .form-controls .event_image {
	left: 0;
	right: 0;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .form-controls .choose-file,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .form-controls .event_image {
	display: block !important;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .selected-msg,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image input[disabled].uploadFile,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .current-image,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image .uploaded-msg {
	display: none !important;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image.uploaded .selected-msg,
.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image.uploaded input[disabled].uploadFile {
	display: block !important;
	font-size: 1.5rem;
	margin: 0 auto;
	max-width: 320px;
	text-align: left;
	width: 100% !important;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image.uploaded .uploadFile {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #114552;
	height: auto;
	max-width: 320px;
	overflow: visible;
	overflow-wrap: anywhere;
	padding: 0;
	text-overflow: initial;
	white-space: normal;
	word-break: break-word;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image.uploaded .tribe-community-events-preview-image {
	display: none !important;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.has-image.uploaded .note {
	display: none !important;
}

/*
 * When a replacement image is queued, hide the old preview and show a simple
 * queued filename message so the user knows the change will apply on submit.
 */
.tribe-community-events .tribe-section.tribe-section-image-uploader .rw-community-image-selection-note {
	color: #114552;
	display: none;
	font-size: 1.5rem;
	font-style: italic;
	margin: 1rem auto 0;
	max-width: 320px;
	text-align: center;
}

.tribe-community-events .tribe-section.tribe-section-image-uploader .tribe-image-upload-area.rw-has-replacement-image .tribe-community-events-preview-image {
	display: none !important;
}

/*
 * The taxonomy multi-selects now use preloaded existing terms only, so the
 * inline Select2 search box is unnecessary and looks like an empty field after
 * selections are made. Hide it for Vibe and Genre.
 */
.tribe-community-events .tribe-section-taxonomy--tribe_events_cat .select2-search--inline,
.tribe-community-events .tribe-section-taxonomy--post_tag .select2-search--inline {
	display: none;
}

/*
 * Smooth out the Select2 chrome for preloaded taxonomy fields so the selection
 * box and open dropdown do not show mismatched rounded corners.
 */
.tribe-community-events .tribe-section-taxonomy--tribe_events_cat .select2-container--default .select2-selection--multiple,
.tribe-community-events .tribe-section-taxonomy--post_tag .select2-container--default .select2-selection--multiple {
	align-items: center;
	border-radius: 4px;
	display: flex;
	min-height: 46px;
	padding: 4px 8px;
}

.tribe-community-events .tribe-section-taxonomy--tribe_events_cat .select2-container--open .select2-selection--multiple,
.tribe-community-events .tribe-section-taxonomy--post_tag .select2-container--open .select2-selection--multiple {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.tribe-community-events .tribe-section-taxonomy--tribe_events_cat .select2-container--open .select2-dropdown,
.tribe-community-events .tribe-section-taxonomy--post_tag .select2-container--open .select2-dropdown {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	margin-top: -1px;
}

.tribe-community-events .tribe-section-taxonomy--tribe_events_cat .select2-selection__rendered,
.tribe-community-events .tribe-section-taxonomy--post_tag .select2-selection__rendered {
	align-items: center;
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0 !important;
}

.tribe-community-events .tribe-section-taxonomy--tribe_events_cat .select2-selection__choice,
.tribe-community-events .tribe-section-taxonomy--post_tag .select2-selection__choice {
	margin: 0 !important;
}

/*
 * DJs should manage their own profile through the dedicated DJ Admin profile
 * page, not via TEC's linked organizer edit shortcut on event forms.
 */
.tribe-community-events .tribe-section-organizer .edit-linked-post-link {
	display: none !important;
}

/*
 * Give the organizer chooser text a little more breathing room before the
 * dropdown arrow / clear affordance.
 */
.tribe-community-events .tribe-section-organizer .select2-selection__rendered {
	padding-right: 1.75rem !important;
}

/*
 * Replace the Select2 default bright blue hover state with the Control Deck
 * blue so the dropdown highlight matches the rest of the interface.
 */
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: #2786ba;
}

.tribe-dropdown .select2-selection--single .select2-selection__clear {
	padding-left: 10px;
}


/*
 * Shared DJ Admin form baseline used by Community add/edit, DJ Profile, and
 * the PRS upload iframe page.
 */
.tribe-community-events.form .events-community-post-title label,
.tribe-community-events.form .events-community-post-content label,
.tribe-community-events.form .tribe-section-header h3,
.tribe-community-events.form .tribe-table-field-group label,
.tribe_community_add .events-community-post-title label,
.tribe_community_add .events-community-post-content label,
.tribe_community_add .tribe-section-header h3,
.tribe_community_add .tribe-table-field-group label,
.tribe_community_edit .events-community-post-title label,
.tribe_community_edit .events-community-post-content label,
.tribe_community_edit .tribe-section-header h3,
.tribe_community_edit .tribe-table-field-group label,
.rw-dj-profile-manager .events-community-post-title label,
.rw-dj-profile-manager .events-community-post-content label,
.rw-dj-profile-manager .tribe-section-header h3,
.page-upload label:not(#notUploadedLabel):not(#notBroadcastLabel):not(#confirmTracksLabel) {
	color: #114552;
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.3;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

/*
 * Keep the original "(required)" helper text visible on the Community add/edit
 * forms and DJ Profile page; those labels will be the reference style.
 */
.tribe-community-events .req,
.rw-dj-profile-manager .req,
.page-upload .req,
.page-upload .info {
	color: inherit;
	font-size: 15px !important;
	font-style: italic;
	text-transform: none;
}

.tribe-community-events .req:not(:empty)::before,
.rw-dj-profile-manager .req:not(:empty)::before,
.page-upload .req:not(:empty)::before,
.page-upload .info:not(:empty)::before {
	content: none;
}

/*
 * Shared form control styling aligned to the Community add/edit screen.
 */
.tribe-community-events.form input[type="text"],
.tribe-community-events.form input[type="url"],
.tribe-community-events.form input[type="email"],
.tribe-community-events.form input[type="number"],
.tribe-community-events.form select,
.tribe-community-events.form textarea,
.tribe_community_add input[type="text"],
.tribe_community_add input[type="url"],
.tribe_community_add input[type="email"],
.tribe_community_add input[type="number"],
.tribe_community_add select,
.tribe_community_add textarea,
.tribe_community_edit input[type="text"],
.tribe_community_edit input[type="url"],
.tribe_community_edit input[type="email"],
.tribe_community_edit input[type="number"],
.tribe_community_edit select,
.tribe_community_edit textarea,
.rw-dj-profile-manager input[type="text"],
.rw-dj-profile-manager input[type="url"],
.rw-dj-profile-manager input[type="email"],
.rw-dj-profile-manager input[type="file"],
.rw-dj-profile-manager textarea,
.page-upload input[type="text"],
.page-upload input[type="file"],
.page-upload textarea,
.page-upload .flatpickr-input + input {
	background: #fff;
	border: 1px solid #dcd7ca;
	border-radius: 4px;
	box-sizing: border-box;
	color: #114552;
	font-size: 1rem;
	max-width: 100%;
	outline: none;
	padding: 12px 14px;
	width: 100%;
}

.tribe-community-events.form input[type="text"]:focus,
.tribe-community-events.form input[type="url"]:focus,
.tribe-community-events.form input[type="email"]:focus,
.tribe-community-events.form input[type="number"]:focus,
.tribe-community-events.form select:focus,
.tribe-community-events.form textarea:focus,
.tribe_community_add input[type="text"]:focus,
.tribe_community_add input[type="url"]:focus,
.tribe_community_add input[type="email"]:focus,
.tribe_community_add input[type="number"]:focus,
.tribe_community_add select:focus,
.tribe_community_add textarea:focus,
.tribe_community_edit input[type="text"]:focus,
.tribe_community_edit input[type="url"]:focus,
.tribe_community_edit input[type="email"]:focus,
.tribe_community_edit input[type="number"]:focus,
.tribe_community_edit select:focus,
.tribe_community_edit textarea:focus,
.rw-dj-profile-manager input[type="text"]:focus,
.rw-dj-profile-manager input[type="url"]:focus,
.rw-dj-profile-manager input[type="email"]:focus,
.rw-dj-profile-manager input[type="file"]:focus,
.rw-dj-profile-manager textarea:focus,
.page-upload input[type="text"]:focus,
.page-upload input[type="file"]:focus,
.page-upload textarea:focus,
.page-upload .flatpickr-input + input:focus {
	border-color: #114552;
	box-shadow: 0 0 0 3px rgba(17, 69, 82, 0.12);
}

.tribe-community-events.form textarea,
.tribe_community_add textarea,
.tribe_community_edit textarea,
.rw-dj-profile-manager textarea,
.page-upload textarea {
	min-height: 14rem;
	resize: vertical;
}

.page-upload textarea[name="track_titles"] {
	min-height: 28rem;
}

/*
 * Keep the Community event WYSIWYG editor using the same restrained chrome as
 * the DJ Profile editor so the form does not switch to a different UI style.
 */
.tribe-community-events.form .events-community-post-content .wp-editor-wrap,
.tribe-community-events.form .events-community-post-content .wp-editor-container,
.tribe-community-events.form .events-community-post-content .mce-tinymce,
.tribe_community_add .events-community-post-content .wp-editor-wrap,
.tribe_community_add .events-community-post-content .wp-editor-container,
.tribe_community_add .events-community-post-content .mce-tinymce,
.tribe_community_edit .events-community-post-content .wp-editor-wrap,
.tribe_community_edit .events-community-post-content .wp-editor-container,
.tribe_community_edit .events-community-post-content .mce-tinymce,
.rw-dj-profile-manager .events-community-post-content .wp-editor-wrap,
.rw-dj-profile-manager .events-community-post-content .wp-editor-container,
.rw-dj-profile-manager .events-community-post-content .mce-tinymce {
	max-width: 100%;
}

.tribe-community-events.form .events-community-post-content .mce-edit-area,
.tribe-community-events.form .events-community-post-content .mce-edit-area iframe,
.tribe_community_add .events-community-post-content .mce-edit-area,
.tribe_community_add .events-community-post-content .mce-edit-area iframe,
.tribe_community_edit .events-community-post-content .mce-edit-area,
.tribe_community_edit .events-community-post-content .mce-edit-area iframe,
.rw-dj-profile-manager .events-community-post-content .mce-edit-area,
.rw-dj-profile-manager .events-community-post-content .mce-edit-area iframe {
	height: 21rem !important;
}

.tribe-community-events.form .events-community-post-content .wp-editor-area,
.tribe_community_add .events-community-post-content .wp-editor-area,
.tribe_community_edit .events-community-post-content .wp-editor-area,
.rw-dj-profile-manager .events-community-post-content .wp-editor-area {
	color: #114552;
	font-family: asap, sans-serif;
	font-size: 1.8rem;
	line-height: 1.5;
}

.tribe-community-events.form .events-community-post-content .mce-top-part,
.tribe-community-events.form .events-community-post-content .quicktags-toolbar,
.tribe_community_add .events-community-post-content .mce-top-part,
.tribe_community_add .events-community-post-content .quicktags-toolbar,
.tribe_community_edit .events-community-post-content .mce-top-part,
.tribe_community_edit .events-community-post-content .quicktags-toolbar,
.rw-dj-profile-manager .events-community-post-content .mce-top-part,
.rw-dj-profile-manager .events-community-post-content .quicktags-toolbar {
	border-bottom: 1px solid #dcd7ca;
}

.tribe-community-events.form .events-community-post-content .mce-toolbar .mce-btn button,
.tribe-community-events.form .events-community-post-content .qt-dfw,
.tribe_community_add .events-community-post-content .mce-toolbar .mce-btn button,
.tribe_community_add .events-community-post-content .qt-dfw,
.tribe_community_edit .events-community-post-content .mce-toolbar .mce-btn button,
.tribe_community_edit .events-community-post-content .qt-dfw,
.rw-dj-profile-manager .events-community-post-content .mce-toolbar .mce-btn button,
.rw-dj-profile-manager .events-community-post-content .qt-dfw {
	color: #114552;
}

.tribe-community-events.form .events-community-post-content .quicktags-toolbar .button,
.tribe-community-events.form .events-community-post-content .quicktags-toolbar input,
.tribe_community_add .events-community-post-content .quicktags-toolbar .button,
.tribe_community_add .events-community-post-content .quicktags-toolbar input,
.tribe_community_edit .events-community-post-content .quicktags-toolbar .button,
.tribe_community_edit .events-community-post-content .quicktags-toolbar input,
.rw-dj-profile-manager .events-community-post-content .quicktags-toolbar .button,
.rw-dj-profile-manager .events-community-post-content .quicktags-toolbar input {
	color: #fff;
}

/*
 * Keep the Community title field and edit-reason field visually in line with
 * the richer editor sizing rather than the smaller shared text-input default.
 */
.tribe-community-events.form #post_title,
.tribe_community_add #post_title,
.tribe_community_edit #post_title,
.tribe-community-events.form #tribe_custom-_ecp_custom_3-Reasonforedit,
.tribe_community_add #tribe_custom-_ecp_custom_3-Reasonforedit,
.tribe_community_edit #tribe_custom-_ecp_custom_3-Reasonforedit {
	font-size: 1.7rem;
}

/*
 * The custom-fields table row for "Reason for edit" sits a little high by
 * default, so center the label against its paired input control.
 */
.tribe-community-events.form .tribe-table-field-group,
.tribe_community_add .tribe-table-field-group,
.tribe_community_edit .tribe-table-field-group {
	align-items: center;
}

/*
 * Keep the Community date/time controls compact rather than stretching them
 * to the shared full-width text input size.
 */
.tribe-community-events.form .tribe-section-datetime input.tribe-datepicker,
.tribe-community-events.form .tribe-section-datetime input.tribe-timepicker,
.tribe_community_add .tribe-section-datetime input.tribe-datepicker,
.tribe_community_add .tribe-section-datetime input.tribe-timepicker,
.tribe_community_edit .tribe-section-datetime input.tribe-datepicker,
.tribe_community_edit .tribe-section-datetime input.tribe-timepicker {
	display: inline-block;
	font-size: 1.6rem;
	max-width: none;
	padding: 0.6rem 0.8rem;
	width: auto;
}

.tribe-community-events.form .tribe-section-datetime input.tribe-datepicker,
.tribe_community_add .tribe-section-datetime input.tribe-datepicker,
.tribe_community_edit .tribe-section-datetime input.tribe-datepicker {
	width: 100px;
}

.tribe-community-events.form .tribe-section-datetime input.tribe-timepicker,
.tribe_community_add .tribe-section-datetime input.tribe-timepicker,
.tribe_community_edit .tribe-section-datetime input.tribe-timepicker {
	width: 100px;
}

/*
 * Keep recurrence date inputs aligned with the main compact date controls.
 */
.tribe-community-events.form .recurrence input.tribe-datepicker,
.tribe_community_add .recurrence input.tribe-datepicker,
.tribe_community_edit .recurrence input.tribe-datepicker {
	font-size: 1.6rem;
	padding: 0.6rem 0.8rem;
	width: 100px;
}

/*
 * Recurrence select widths should stay compact and field-specific rather than
 * inheriting the shared full-width select styling used elsewhere on the form.
 */
.tribe-community-events.form .recurrence select,
.tribe_community_add .recurrence select,
.tribe_community_edit .recurrence select {
	width: auto;
}

.tribe-community-events.form .recurrence #recurrence_rule_0_type,
.tribe-community-events.form .recurrence #recurrence_rule_0_interval,
.tribe_community_add .recurrence #recurrence_rule_0_type,
.tribe_community_add .recurrence #recurrence_rule_0_interval,
.tribe_community_edit .recurrence #recurrence_rule_0_type,
.tribe_community_edit .recurrence #recurrence_rule_0_interval {
	width: 100px;
}

.tribe-community-events.form .recurrence .tribe-field-recurrence-end select,
.tribe_community_add .recurrence .tribe-field-recurrence-end select,
.tribe_community_edit .recurrence .tribe-field-recurrence-end select {
	width: auto;
}

.tribe-community-events.form .recurrence #recurrence_rule_0_type + .select2-container,
.tribe-community-events.form .recurrence #recurrence_rule_0_interval + .select2-container,
.tribe_community_add .recurrence #recurrence_rule_0_type + .select2-container,
.tribe_community_add .recurrence #recurrence_rule_0_interval + .select2-container,
.tribe_community_edit .recurrence #recurrence_rule_0_type + .select2-container,
.tribe_community_edit .recurrence #recurrence_rule_0_interval + .select2-container {
	width: 100px !important;
}

.tribe-community-events.form .recurrence .tribe-field-recurrence-end select + .select2-container,
.tribe_community_add .recurrence .tribe-field-recurrence-end select + .select2-container,
.tribe_community_edit .recurrence .tribe-field-recurrence-end select + .select2-container {
	width: auto !important;
}

/*
 * Recurrence rule controls come from Events Calendar Pro and use a different
 * set of classes than the standard form fields. Target them directly so add
 * and edit behave the same.
 */
.tribe-community-events.form .recurrence .tec-events-pro-rule-type__dropdown,
.tribe_community_add .recurrence .tec-events-pro-rule-type__dropdown,
.tribe_community_edit .recurrence .tec-events-pro-rule-type__dropdown,
.tribe-community-events.form .recurrence .tribe-recurrence-rule-interval,
.tribe_community_add .recurrence .tribe-recurrence-rule-interval,
.tribe_community_edit .recurrence .tribe-recurrence-rule-interval {
	width: 100px !important;
}

.tribe-community-events.form .tribe-event-recurrence .tec-events-pro-rule-type__dropdown,
.tribe_community_add .tribe-event-recurrence .tec-events-pro-rule-type__dropdown,
.tribe_community_edit .tribe-event-recurrence .tec-events-pro-rule-type__dropdown,
.tribe-community-events.form .tribe-event-recurrence .tribe-recurrence-rule-interval,
.tribe_community_add .tribe-event-recurrence .tribe-recurrence-rule-interval,
.tribe_community_edit .tribe-event-recurrence .tribe-recurrence-rule-interval {
	max-width: 100px !important;
	width: 100px !important;
}

.tribe-community-events.form .recurrence .tec-events-pro-rule-type__dropdown + .select2-container,
.tribe_community_add .recurrence .tec-events-pro-rule-type__dropdown + .select2-container,
.tribe_community_edit .recurrence .tec-events-pro-rule-type__dropdown + .select2-container,
.tribe-community-events.form .recurrence .tribe-recurrence-rule-interval + .select2-container,
.tribe_community_add .recurrence .tribe-recurrence-rule-interval + .select2-container,
.tribe_community_edit .recurrence .tribe-recurrence-rule-interval + .select2-container {
	width: 100px !important;
}

.tribe-community-events.form .tribe-event-recurrence .tec-events-pro-rule-type__dropdown + .select2-container,
.tribe_community_add .tribe-event-recurrence .tec-events-pro-rule-type__dropdown + .select2-container,
.tribe_community_edit .tribe-event-recurrence .tec-events-pro-rule-type__dropdown + .select2-container,
.tribe-community-events.form .tribe-event-recurrence .tribe-recurrence-rule-interval + .select2-container,
.tribe_community_add .tribe-event-recurrence .tribe-recurrence-rule-interval + .select2-container,
.tribe_community_edit .tribe-event-recurrence .tribe-recurrence-rule-interval + .select2-container {
	max-width: 100px !important;
	width: 100px !important;
}

.tribe-community-events.form .recurrence .recurrence-time select[data-field="custom-end-day"],
.tribe_community_add .recurrence .recurrence-time select[data-field="custom-end-day"],
.tribe_community_edit .recurrence .recurrence-time select[data-field="custom-end-day"],
.tribe-community-events.form .recurrence .tribe-same-day-select,
.tribe_community_add .recurrence .tribe-same-day-select,
.tribe_community_edit .recurrence .tribe-same-day-select {
	max-width: 140px;
	width: 140px !important;
}

.tribe-community-events.form .tribe-event-recurrence .recurrence-time select[data-field="custom-end-day"],
.tribe_community_add .tribe-event-recurrence .recurrence-time select[data-field="custom-end-day"],
.tribe_community_edit .tribe-event-recurrence .recurrence-time select[data-field="custom-end-day"],
.tribe-community-events.form .tribe-event-recurrence .tribe-same-day-select,
.tribe_community_add .tribe-event-recurrence .tribe-same-day-select,
.tribe_community_edit .tribe-event-recurrence .tribe-same-day-select {
	max-width: 140px !important;
	width: 140px !important;
}

.tribe-community-events.form .recurrence .recurrence-time select[data-field="custom-end-day"] + .select2-container,
.tribe_community_add .recurrence .recurrence-time select[data-field="custom-end-day"] + .select2-container,
.tribe_community_edit .recurrence .recurrence-time select[data-field="custom-end-day"] + .select2-container,
.tribe-community-events.form .recurrence .tribe-same-day-select + .select2-container,
.tribe_community_add .recurrence .tribe-same-day-select + .select2-container,
.tribe_community_edit .recurrence .tribe-same-day-select + .select2-container {
	width: 140px !important;
}

.tribe-community-events.form .tribe-event-recurrence .recurrence-time select[data-field="custom-end-day"] + .select2-container,
.tribe_community_add .tribe-event-recurrence .recurrence-time select[data-field="custom-end-day"] + .select2-container,
.tribe_community_edit .tribe-event-recurrence .recurrence-time select[data-field="custom-end-day"] + .select2-container,
.tribe-community-events.form .tribe-event-recurrence .tribe-same-day-select + .select2-container,
.tribe_community_add .tribe-event-recurrence .tribe-same-day-select + .select2-container,
.tribe_community_edit .tribe-event-recurrence .tribe-same-day-select + .select2-container {
	max-width: 140px !important;
	width: 140px !important;
}

/*
 * Shared form action button styling. Header action rows keep their own blue
 * button treatment through the more specific rules above.
 */
.tribe-community-events.form .tribe-button,
.tribe-community-events.form .button,
.tribe_community_add .tribe-button,
.tribe_community_add .button,
.tribe_community_edit .tribe-button,
.tribe_community_edit .button,
.rw-dj-profile-manager .tribe-button.submit.events-community-submit,
.page-upload button,
.page-upload .btn {
	background: #2fb6d9;
	border: 1px solid #2fb6d9;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	padding: 12px 18px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.tribe-community-events.form .tribe-button:hover,
.tribe-community-events.form .tribe-button:focus,
.tribe-community-events.form .button:hover,
.tribe-community-events.form .button:focus,
.tribe_community_add .tribe-button:hover,
.tribe_community_add .tribe-button:focus,
.tribe_community_add .button:hover,
.tribe_community_add .button:focus,
.tribe_community_edit .tribe-button:hover,
.tribe_community_edit .tribe-button:focus,
.tribe_community_edit .button:hover,
.tribe_community_edit .button:focus,
.rw-dj-profile-manager .tribe-button.submit.events-community-submit:hover,
.rw-dj-profile-manager .tribe-button.submit.events-community-submit:focus,
.page-upload button:hover,
.page-upload button:focus,
.page-upload .btn:hover,
.page-upload .btn:focus {
	background: #1c8fb0;
	border-color: #1c8fb0;
	box-shadow: none;
	color: #fff;
}

/*
 * Re-assert the DJ Admin header action row after the generic Community form
 * button rule so edit screens do not repaint it with the submit-button theme.
 */
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary {
	background: #114552 !important;
	border-color: #114552 !important;
	color: #fff !important;
}

/*
 * Community list screens inherit stronger TEC button sizing. Reassert the
 * shared Control Deck typography on the header actions there.
 */
.tribe_community_list .my-events-header .rw-community-manage-actions .tribe-button,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button {
	font-size: 15px !important;
	letter-spacing: 0.06em !important;
}

.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report {
	background: #114552 !important;
	border-color: #114552 !important;
	color: #fff !important;
}

.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe_community_add .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe_community_edit .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:hover,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button.tribe-button-primary.prs-report:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

.rw-dj-handbook-page .rw-dj-area-section-heading {
	color: #114552;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 3rem 0 1.5rem;
}

.page-upload h2 {
	color: #114552;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 3rem 0 1.5rem;
}

.page-upload button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/*
 * Shared management action row styling for Community manage pages and the
 * handbook page.
 */
.tribe-community-events-content .rw-community-manage-actions,
.rw-dj-handbook-page .rw-community-manage-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
	width: 100%;
}

.tribe-community-events-content .rw-community-manage-actions .dj-handbook,
.rw-dj-handbook-page .rw-community-manage-actions .dj-handbook {
	margin-left: auto;
}

.tribe-community-events-content .rw-community-manage-actions .tribe-button:first-child,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button:first-child {
	margin-left: 0;
}

/*
 * Recreate TEC's base button treatment on the standalone DJ Area template,
 * where the Community button foundation is not present.
 */
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button {
	border-radius: var(--tec-border-radius-default, 4px);
	cursor: pointer;
	display: inline-block;
	font-family: var(--tec-font-family-sans-serif, inherit);
	font-size: 15px;
	-webkit-font-smoothing: subpixel-antialiased;
	font-weight: var(--tec-font-weight-regular, 400);
	height: auto;
	letter-spacing: 0.06em;
	line-height: 1;
	margin: 0;
	padding: var(--tec-spacer-2, 12px);
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tribe-community-events-content .rw-community-manage-actions .tribe-button {
	margin: 0;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tribe-community-events-content .rw-community-manage-actions .dj-handbook {
	margin-left: auto;
}

.tribe-community-events-content .rw-community-manage-actions .logout {
	margin-left: 0;
}

.rw-dj-handbook-page .rw-community-manage-actions .tribe-button:hover,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button:focus {
	text-decoration: none;
}

.tribe-community-events-content .rw-community-manage-actions .tribe-button.tribe-button-primary,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button.tribe-button-primary,
.tribe-community-events-content .my-events-header .rw-community-header-links .tribe-button.tribe-button-secondary {
	background: #114552 !important;
	border: 1px solid #114552 !important;
	color: #fff !important;
}

.tribe-community-events-content .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.tribe-community-events-content .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button.tribe-button-primary:hover,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button.tribe-button-primary:focus,
.tribe-community-events-content .my-events-header .rw-community-header-links .tribe-button.tribe-button-secondary:hover,
.tribe-community-events-content .my-events-header .rw-community-header-links .tribe-button.tribe-button-secondary:focus {
	background: #0d3640 !important;
	border-color: #0d3640 !important;
	color: #fff !important;
}

/*
 * Keep the main Control Deck action rows feeling interactive with one shared
 * hover/focus treatment wherever that menu is reused.
 */
.tribe-community-events-content .rw-community-manage-actions .tribe-button:hover,
.tribe-community-events-content .rw-community-manage-actions .tribe-button:focus,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button:hover,
.rw-dj-handbook-page .rw-community-manage-actions .tribe-button:focus,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button:hover,
.tribe-community-events .my-events-header .rw-community-manage-actions .tribe-button:focus {
	text-decoration: none;
}

.tribe-community-events-content .rw-community-manage-actions .dj-handbook,
.rw-dj-handbook-page .rw-community-manage-actions .dj-handbook {
	background: rgba(17, 69, 82, 0.72) !important;
	border-color: rgba(17, 69, 82, 0.72) !important;
}

.tribe-community-events-content .rw-community-manage-actions .dj-handbook:hover,
.tribe-community-events-content .rw-community-manage-actions .dj-handbook:focus,
.rw-dj-handbook-page .rw-community-manage-actions .dj-handbook:hover,
.rw-dj-handbook-page .rw-community-manage-actions .dj-handbook:focus {
	background: rgba(13, 54, 64, 0.82) !important;
	border-color: rgba(13, 54, 64, 0.82) !important;
}

/*
 * Keep the list view's add action aligned with the built-in white navigation controls.
 */
.tribe-community-events-content .tribe-nav .my-events-display-options {
	align-items: center;
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-right: 0;
	width: 100%;
}

.tribe-community-events-content .tribe-nav .my-events-display-options a {
	margin: 0 !important;
}

.tribe-community-events-content .my-events-display-options {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	width: 100%;
}

.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list,
.tribe-community-events-content .my-events-display-options .add-new-show-list {
	margin-left: auto !important;
	order: 3;
}

.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-upcoming,
.tribe-community-events-content .my-events-display-options .tribe-upcoming {
	order: 1;
}

.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-past,
.tribe-community-events-content .my-events-display-options .tribe-past {
	order: 2;
}

/*
 * The show-list view uses TEC secondary/tertiary button states for Upcoming,
 * Add New Show, and Past. Make the active/current state use the bright teal
 * while leaving the inactive state on the existing dark blue treatment.
 */
 .tribe-community-events-content .tribe-nav .my-events-display-options .tribe-button.tribe-button-tertiary,
 .tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list,
 .tribe-community-events-content .my-events-display-options .tribe-button.tribe-button-tertiary,
 .tribe-community-events-content .my-events-display-options .add-new-show-list {
	background: rgba(47, 182, 217, 0.14) !important;
	border-color: #114552 !important;
	color: #114552 !important;
	font-size: 15px;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
}

.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-button.tribe-button-tertiary:hover,
.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-button.tribe-button-tertiary:focus,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list:hover,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list:focus,
.tribe-community-events-content .my-events-display-options .tribe-button.tribe-button-tertiary:hover,
.tribe-community-events-content .my-events-display-options .tribe-button.tribe-button-tertiary:focus,
.tribe-community-events-content .my-events-display-options .add-new-show-list:hover,
.tribe-community-events-content .my-events-display-options .add-new-show-list:focus {
	background: rgba(47, 182, 217, 0.24) !important;
	border-color: #114552 !important;
	color: #114552 !important;
}

.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-button.tribe-button-secondary,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list.tribe-button-secondary,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list.is-active,
.tribe-community-events-content .my-events-display-options .tribe-button.tribe-button-secondary,
.tribe-community-events-content .my-events-display-options .add-new-show-list.tribe-button-secondary,
.tribe-community-events-content .my-events-display-options .add-new-show-list.is-active {
	background: rgba(47, 182, 217, 0.14) !important;
	border-color: #114552 !important;
	color: #114552 !important;
	font-size: 15px;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
}

.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-button.tribe-button-secondary:hover,
.tribe-community-events-content .tribe-nav .my-events-display-options .tribe-button.tribe-button-secondary:focus,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list.tribe-button-secondary:hover,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list.tribe-button-secondary:focus,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list.is-active:hover,
.tribe-community-events-content .tribe-nav .my-events-display-options .add-new-show-list.is-active:focus,
.tribe-community-events-content .my-events-display-options .tribe-button.tribe-button-secondary:hover,
.tribe-community-events-content .my-events-display-options .tribe-button.tribe-button-secondary:focus,
.tribe-community-events-content .my-events-display-options .add-new-show-list.tribe-button-secondary:hover,
.tribe-community-events-content .my-events-display-options .add-new-show-list.tribe-button-secondary:focus,
.tribe-community-events-content .my-events-display-options .add-new-show-list.is-active:hover,
.tribe-community-events-content .my-events-display-options .add-new-show-list.is-active:focus {
	background: rgba(47, 182, 217, 0.24) !important;
	border-color: #114552 !important;
	color: #114552 !important;
}

/*
 * Match the DJ Profile public-page link to the same soft tertiary button style
 * used on the show-list controls.
 */
.rw-dj-profile-manager .rw-dj-profile-public-link a {
	background: rgba(47, 182, 217, 0.14) !important;
	border: 1px solid #114552 !important;
	color: #114552 !important;
	font-weight: 500 !important;
}

.rw-dj-profile-manager .rw-dj-profile-public-link a:hover,
.rw-dj-profile-manager .rw-dj-profile-public-link a:focus {
	background: rgba(47, 182, 217, 0.24) !important;
	border-color: #114552 !important;
	color: #114552 !important;
}

.rw-dj-handbook-page #tribe-events-pg-template.rw-dj-handbook-site-content {
	display: block;
	margin: 0 0 4rem;
	max-width: 100%;
	padding: 0;
}

.rw-dj-handbook-page .tribe-community-events-content.rw-dj-handbook-content {
	background: transparent;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook {
	background: #fff;
	box-sizing: border-box;
	margin: 0;
	margin-left: 10px !important;
	margin-top: 30px !important;
	padding: 0 0 2.5rem;
	width: 100%;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
	padding: 3.5rem 3.5rem 0;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .my-events {
	color: #114552;
	font-family: var(--tec-font-family-sans-serif, inherit);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-community-header-links {
	margin-bottom: 0;
	margin-top: 1rem;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	width: 100%;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions .rw-community-manage-actions {
	margin-bottom: 0;
	width: auto !important;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions__left {
	flex: 1 1 auto;
	justify-content: flex-start;
	min-width: 0;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions__right {
	flex: 0 0 auto;
	justify-content: flex-end;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions__left.rw-community-manage-actions,
.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions__right.rw-community-manage-actions {
	align-items: center !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
}

.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions__left .tribe-button,
.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions__right .tribe-button {
	white-space: nowrap;
	word-break: normal;
	word-wrap: normal;
}

.rw-dj-handbook-page .rw-dj-handbook__content {
	margin: 0 3.5rem;
}

.rw-dj-handbook-page .rw-dj-handbook__content h2:first-child {
	font-size: 3rem;
	margin-top: 3rem;
}

/*
 * The DJ Handbook uses nested Ultimate Blocks accordions. Keep the top level
 * on the brighter Control Deck accent, and tone all nested accordions down to
 * the softer tinted treatment so the hierarchy is clearer.
 */
.rw-dj-handbook-page .rw-dj-handbook__content > .wp-block-ub-content-toggle > .wp-block-ub-content-toggle-accordion {
	border-color: #114552 !important;
}

.rw-dj-handbook-page .rw-dj-handbook__content > .wp-block-ub-content-toggle > .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap {
	background-color: #114552 !important;
	color: #fff !important;
}

.rw-dj-handbook-page .rw-dj-handbook__content > .wp-block-ub-content-toggle > .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-title,
.rw-dj-handbook-page .rw-dj-handbook__content > .wp-block-ub-content-toggle > .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-toggle-wrap,
.rw-dj-handbook-page .rw-dj-handbook__content > .wp-block-ub-content-toggle > .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-state-indicator {
	color: #fff !important;
}

.rw-dj-handbook-page .rw-dj-handbook__content .wp-block-ub-content-toggle .wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion {
	border-color: rgba(47, 182, 217, 0.14) !important;
}

.rw-dj-handbook-page .rw-dj-handbook__content .wp-block-ub-content-toggle .wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap {
	background-color: rgba(47, 182, 217, 0.14) !important;
	color: #114552 !important;
}

.rw-dj-handbook-page .rw-dj-handbook__content .wp-block-ub-content-toggle .wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-title,
.rw-dj-handbook-page .rw-dj-handbook__content .wp-block-ub-content-toggle .wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-toggle-wrap,
.rw-dj-handbook-page .rw-dj-handbook__content .wp-block-ub-content-toggle .wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion > .wp-block-ub-content-toggle-accordion-title-wrap .wp-block-ub-content-toggle-accordion-state-indicator {
	color: #114552 !important;
}

.rw-prs-manager-body .rw-prs-manager-frame-wrap {
	border-radius: 4px;
	overflow: hidden;
}

.rw-prs-manager-body .rw-prs-manager-frame {
	background: #fff;
	border: 0;
	display: block;
	height: 1000px;
	min-height: 1000px;
	width: 100%;
}

.rw-dj-profile-manager .rw-dj-profile-header {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin: 0 0 2rem;
}

.rw-dj-profile-manager .rw-dj-profile-header .rw-dj-area-section-heading {
	margin: 0;
}

.rw-dj-profile-manager .rw-dj-profile-public-link {
	margin: 0;
	padding-top: 2.6rem;
}

.rw-dj-profile-manager .rw-dj-profile-public-link a {
	align-items: center;
	background: rgba(47, 182, 217, 0.14) !important;
	border: 1px solid #114552 !important;
	border-radius: 4px;
	color: #114552 !important;
	display: inline-flex;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
}

.rw-dj-profile-manager .rw-dj-profile-public-link a:hover,
.rw-dj-profile-manager .rw-dj-profile-public-link a:focus {
	background: rgba(47, 182, 217, 0.24) !important;
	border-color: #114552 !important;
	color: #114552 !important;
}

/*
 * The exclusions UI still uses a plain `.button` in Events Calendar Pro, so
 * style it explicitly to match the active submit/action buttons.
 */
.tribe-community-events.form #tribe-add-exclusion,
.tribe_community_add #tribe-add-exclusion,
.tribe_community_edit #tribe-add-exclusion {
	background: #2fb6d9 !important;
	border: 1px solid #2fb6d9 !important;
	color: #fff !important;
}

.tribe-community-events.form #tribe-add-exclusion:hover,
.tribe-community-events.form #tribe-add-exclusion:focus,
.tribe_community_add #tribe-add-exclusion:hover,
.tribe_community_add #tribe-add-exclusion:focus,
.tribe_community_edit #tribe-add-exclusion:hover,
.tribe_community_edit #tribe-add-exclusion:focus {
	background: #1c8fb0 !important;
	border-color: #1c8fb0 !important;
	color: #fff !important;
}

.rw-dj-profile-manager .rw-dj-profile-errors,
.rw-dj-profile-manager .rw-dj-profile-notice {
	padding: 0.85rem 1rem;
	margin: 0 0 1.5rem;
	border-left: 4px solid;
}

.rw-dj-profile-manager .rw-dj-profile-errors {
	background: #fff1f0;
	border-color: #d63638;
}

.rw-dj-profile-manager .rw-dj-profile-notice {
	background: #f0f6fc;
	border-color: #0a4b78;
}

.rw-dj-profile-manager .rw-dj-profile-errors p,
.rw-dj-profile-manager .rw-dj-profile-notice p {
	margin: 0;
}

.rw-dj-profile-manager .events-community-post-title,
.rw-dj-profile-manager .events-community-post-content,
.rw-dj-profile-manager .tribe-section {
	margin: 0 0 2rem;
}

.rw-dj-profile-manager .events-community-post-title label,
.rw-dj-profile-manager .events-community-post-content label {
	display: block;
}

.rw-dj-profile-manager .events-community-post-title input[type="text"],
.rw-dj-profile-manager .events-community-post-content textarea,
.rw-dj-profile-manager .tribe-section input[type="file"] {
	width: 100%;
	max-width: 100%;
}

.rw-dj-profile-manager .events-community-post-title input[type="text"] {
	font-size: 1.7rem;
	min-height: 46px;
}

/*
 * Keep the DJ profile name field and image-picker text in line with the
 * larger Community form field sizing used elsewhere in this area.
 */
.rw-dj-profile-manager .tribe-section-image-uploader input[type="file"] {
	font-size: 1.7rem;
	line-height: 1.4;
}

.rw-dj-profile-manager .events-community-post-content .wp-editor-wrap,
.rw-dj-profile-manager .wp-editor-wrap,
.rw-dj-profile-manager .wp-editor-container,
.rw-dj-profile-manager .mce-tinymce,
.rw-dj-profile-manager .tmce-active,
.rw-dj-profile-manager .html-active {
	max-width: 100%;
}

.rw-dj-profile-manager .events-community-post-content textarea {
	min-height: 14rem;
	resize: vertical;
}

.rw-dj-profile-manager .rw-dj-profile-image-preview {
	margin: 0 0 1rem;
}

.rw-dj-profile-manager .rw-dj-profile-image-preview img {
	display: block;
	max-width: 220px;
	height: auto;
}

.rw-dj-profile-manager .mce-top-part,
.rw-dj-profile-manager .quicktags-toolbar {
	border-bottom: 1px solid #dcd7ca;
}

.rw-dj-profile-manager .mce-toolbar .mce-btn button,
.rw-dj-profile-manager .qt-dfw,
.rw-dj-profile-manager .quicktags-toolbar input {
	color: #114552;
}

.rw-dj-profile-manager .tribe-section {
	border: 1px solid #dcd7ca;
	border-radius: 4px;
	overflow: hidden;
}

.rw-dj-profile-manager .tribe-section-header {
	border-bottom: 1px solid #dcd7ca;
	padding: 1rem 1.25rem;
}

.rw-dj-profile-manager .tribe-section-header h3 {
	margin: 0;
	line-height: 1.2;
}

.rw-dj-profile-manager .tribe-section-content {
	padding: 1.25rem;
}

.rw-dj-profile-manager .tribe-button.submit.events-community-submit {
	margin-top: 1rem;
}

/*
 * Match the Community add/edit sections to the lighter PRS structure: keep the
 * section heading treatment, but remove the boxed panel feel from the body.
 */
.tribe-community-events.form .tribe-section,
.tribe_community_add .tribe-section,
.tribe_community_edit .tribe-section {
	border: 0;
	border-radius: 0;
	margin: 0 0 2rem;
	overflow: visible;
}

.tribe-community-events.form .tribe-section-header,
.tribe_community_add .tribe-section-header,
.tribe_community_edit .tribe-section-header {
	background: rgba(47, 182, 217, 0.14);
	border: 0;
	border-left: 4px solid #114552;
	padding: 0.85rem 1rem;
}

.tribe-community-events.form .tribe-section-header h3,
.tribe_community_add .tribe-section-header h3,
.tribe_community_edit .tribe-section-header h3 {
	margin: 0;
}

.tribe-community-events.form .tribe-section-content,
.tribe_community_add .tribe-section-content,
.tribe_community_edit .tribe-section-content {
	border: 0;
	margin-left: 0 !important;
	padding: 1.25rem 0 0;
}

.tribe-community-events .tribe-section div.tribe-section-content,
.tribe-community-events .tribe-section-content {
	margin-left: 0 !important;
}

.tribe-community-events .tribe-section-content-label {
	padding-left: 0 !important;
}

/*
 * The new Show Details wrapper should align with the same section treatment as
 * the TEC-generated sections while keeping its two fields in the normal flow.
 */
.tribe-community-events.form .rw-community-show-details .events-community-post-title,
.tribe-community-events.form .rw-community-show-details .events-community-post-content,
.tribe_community_add .rw-community-show-details .events-community-post-title,
.tribe_community_add .rw-community-show-details .events-community-post-content,
.tribe_community_edit .rw-community-show-details .events-community-post-title,
.tribe_community_edit .rw-community-show-details .events-community-post-content {
	background: transparent;
	margin: 0 0 2rem;
}

.tribe-community-events.form .rw-community-show-details .events-community-post-content,
.tribe_community_add .rw-community-show-details .events-community-post-content,
.tribe_community_edit .rw-community-show-details .events-community-post-content {
	margin-bottom: 0;
}

.tribe-community-events.form .rw-community-show-details,
.tribe_community_add .rw-community-show-details,
.tribe_community_edit .rw-community-show-details,
.tribe-community-events.form .rw-community-show-details .tribe-section-content,
.tribe_community_add .rw-community-show-details .tribe-section-content,
.tribe_community_edit .rw-community-show-details .tribe-section-content {
	background: transparent;
}

/*
 * The Show Details section sits directly under the page title, so trim the
 * extra header spacing there without changing the other section headings.
 */
.tribe-community-events.form .rw-community-show-details .tribe-section-header,
.tribe_community_add .rw-community-show-details .tribe-section-header,
.tribe_community_edit .rw-community-show-details .tribe-section-header {
	margin-bottom: 0;
}

/*
 * TEC writes inline Select2 widths on the taxonomy controls. Force those
 * created dropdown containers to fill the available form width instead.
 */
.tribe-community-events .tribe-dropdown.tribe-dropdown-created.select2-container,
.tribe_community_add .tribe-dropdown.tribe-dropdown-created.select2-container,
.tribe_community_edit .tribe-dropdown.tribe-dropdown-created.select2-container {
	width: 100% !important;
}

/*
 * Keep the recurrence action aligned with the left edge of the section body
 * now that the wider boxed layout has been removed.
 */
.tribe-community-events .tribe-event-recurrence #tribe-add-recurrence,
.tribe_community_add .tribe-event-recurrence #tribe-add-recurrence,
.tribe_community_edit .tribe-event-recurrence #tribe-add-recurrence {
	margin-left: 0 !important;
}

/*
 * Keep PRS upload helper copy readable without forcing the checkbox labels
 * into the same all-caps treatment as field labels.
 */
.page-upload #notUploadedLabel,
.page-upload #notBroadcastLabel,
.page-upload #confirmTracksLabel {
	color: #114552;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
}

.page-upload h3 {
	color: #114552;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 1.5rem 0 0.75rem;
}

.page-upload #uploadedor {
	color: #6b7280;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin: 1rem 0 0;
	text-transform: uppercase;
}

.rw-dj-profile-manager .tribe-events-community-footer {
	padding: 0 0 2rem;
}

@media (max-width: 767px) {
	.tribe-community-events-content .rw-community-manage-actions,
	.rw-dj-handbook-page .rw-community-manage-actions {
		align-items: stretch;
	}

	.tribe-community-events-content .rw-community-manage-actions .tribe-button,
	.rw-dj-handbook-page .rw-community-manage-actions .tribe-button {
		text-align: center;
		width: 100%;
	}

	.tribe-community-events-content .rw-community-manage-actions .dj-handbook,
	.rw-dj-handbook-page .rw-community-manage-actions .dj-handbook {
		margin-left: 0;
	}

	.rw-dj-handbook-page #tribe-events-pg-template.rw-dj-handbook-site-content {
		margin-top: 0;
		padding: 0;
	}

	.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header {
		align-items: flex-start;
		padding: 2rem 1rem 1.5rem;
	}

	.rw-dj-handbook-page #tribe-community-events.rw-dj-handbook .my-events-header .rw-dj-area-header-actions {
		flex-direction: column;
	}

	.rw-dj-handbook-page .rw-dj-handbook__content {
		margin: 0 1rem;
	}

	.rw-prs-manager-body .rw-prs-manager-frame {
		height: 1000px;
	}
}

/*
 * PRS iframe upload form styles.
 *
 * These are the upload-specific pieces carried over from the standalone PRS
 * app so the embedded page can visually align with DJ Admin without pulling
 * in the old app's generic form/button baseline.
 */
.page-upload {
	--bg: #0e1a22;
	--panel: #132532;
	--accent: #3cc0e0;
	--accent-soft: rgba(60, 192, 224, 0.15);
	--text: #e8f1f6;
	--muted: #9fb6c3;
	--border: #1f3a4a;
	--danger: rgba(255, 99, 99, 0.35);
	--danger-soft: rgba(255, 99, 99, 0.08);
	--field: #0f2230;
	--field-upload: #0c1922;
}

.page-upload,
.page-upload * {
	font-family: asap, sans-serif;
}

.page-upload {
	color: #114552;
	font-size: 15px;
	line-height: 1.5;
}

.page-upload .notice {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: rgba(0, 0, 0, 0.12);
	margin: 12px 0;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.page-upload .notice.error {
	border-color: rgba(255, 99, 99, 0.45);
	background: rgba(255, 99, 99, 0.14);
}

.page-upload .notice.notice-amber {
	border-color: rgba(245, 177, 66, 0.2);
	background: rgba(245, 177, 66, 0.1);
}

.page-upload .notice.notice-amber strong {
	display: block;
	margin-bottom: 10px;
}

.page-upload .track-validation-reason {
	color: #d63638;
}

.page-upload .muted {
	color: var(--muted);
}

.page-upload #notUploadedLabel,
.page-upload #notBroadcastLabel {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	color: #114552;
}

.page-upload .progress-container {
	margin-top: 18px;
	display: none;
}

.page-upload progress {
	width: 100%;
	height: 22px;
	border-radius: 6px;
	overflow: hidden;
}

.page-upload progress::-webkit-progress-bar {
	background: rgba(17, 69, 82, 0.12);
}

.page-upload progress::-webkit-progress-value {
	background: linear-gradient(90deg, #114552, #0d3640);
}

.page-upload .status {
	margin-top: 10px;
	font-family: asap, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	color: #114552;
}

.page-upload .disabled {
	opacity: 0.6;
}

.page-upload #trackTitlesSection {
	display: none;
}

.page-upload #trackTitlesSection.visible {
	display: block;
}

.page-upload #submitBtn {
	display: block;
}

.page-upload #trackTitlesSection.visible + #submitBtn {
	margin-top: 24px;
}

/*
 * Bring the embedded PRS form closer to the finished DJ Admin form rhythm
 * without forcing it into TEC's section markup. These overrides replace the
 * older standalone upload-page heading and spacing treatment.
 */
.page-upload {
	color: #114552;
}

body.page-upload {
	margin: 0;
}

.page-upload form#mixForm {
	margin: 0;
	max-width: 100%;
}

.page-upload h2 {
	background: rgba(47, 182, 217, 0.14);
	border-left: 4px solid #114552;
	color: #114552;
	font-family: asap, sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.03em;
	margin: 10px 0 1.5rem;
	padding: 0.5rem 1rem;
	text-transform: uppercase;
}

.page-upload form#mixForm h2:not(:first-of-type) {
	margin-top: 3rem;
}

.page-upload #trackTitlesSection h2 {
	margin-top: 30px;
}

.page-upload h2.section-title-website-preview {
	margin-top: 20px;
}

.page-upload form#mixForm > input[type="hidden"] {
	margin: 0;
}

.page-upload label:not(#notUploadedLabel):not(#notBroadcastLabel):not(#confirmTracksLabel) {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.page-upload #fileInputLabel,
.page-upload #startDateLabel,
.page-upload #endDateLabel {
	margin-bottom: 0;
}

.page-upload label:not(#notBroadcastLabel):not(#confirmTracksLabel) {
	font-size: 15px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.page-upload #notUploadedLabel {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.page-upload button,
.page-upload .btn {
	/* Keep PRS iframe buttons aligned with the shared uppercase button style. */
	text-transform: uppercase;
}

.page-upload #fileInputLabel input,
.page-upload #startDateLabel input,
.page-upload #endDateLabel input {
	margin-top: 0.6rem;
}

.page-upload h2.section-title-broadcast {
	margin-top: 1.5rem;
}

.page-upload #findTracksBtn,
.page-upload #submitBtn {
	margin-top: 0.75rem;
}

.page-upload #startDateBlock,
.page-upload #endDateBlock {
	max-width: 520px;
}

.page-upload #trackTitlesSection,
.page-upload #showPreview {
	border: 0;
	margin-top: 0 !important;
	padding: 0;
}

.page-upload form#mixForm > h2:first-of-type {
	margin-top: 0;
}

.page-upload #trackTitlesIntro,
.page-upload #trackTitlesHelp {
	margin-top: 1.5rem;
}

.page-upload #showPreview p {
	color: #6b7280;
	margin: 0 0 1rem;
}

.page-upload #previewText {
	background: #f7f7f7 !important;
	border: 1px solid #dcd7ca !important;
	border-radius: 4px !important;
	color: #114552 !important;
}

.page-upload #trackTitlesHelp ul,
.page-upload #trackValidationPanel ul {
	margin: 0.75rem 0 1rem 1.5rem;
}

.page-upload #confirmTracksError {
	color: #b42318;
}

.page-upload .flatpickr-calendar {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
	color: var(--text);
}

.page-upload .flatpickr-calendar,
.page-upload .flatpickr-calendar * {
	font-family: asap, sans-serif;
}

.page-upload .flatpickr-months {
	background: transparent;
	border-bottom: 1px solid var(--border);
}

.page-upload .flatpickr-current-month,
.page-upload .flatpickr-monthDropdown-months,
.page-upload .flatpickr-current-month input.cur-year,
.page-upload .flatpickr-current-month .cur-month {
	color: var(--text);
	font-weight: 600;
	font-family: inherit;
}

.page-upload .flatpickr-current-month .flatpickr-monthDropdown-months {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: var(--field-upload);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 4px 28px 4px 10px;
	line-height: 1.2;
}

.page-upload .flatpickr-current-month .flatpickr-monthDropdown-months option {
	background: var(--panel);
	color: var(--text);
}

.page-upload .flatpickr-current-month input.cur-year {
	background: var(--field-upload);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 3px 8px;
}

.page-upload .flatpickr-weekdays {
	background: var(--panel);
	border-bottom: 1px solid var(--border);
}

.page-upload .flatpickr-weekday {
	color: var(--text) !important;
	opacity: 0.85 !important;
	font-weight: 600;
	font-size: 0.85rem;
}

.page-upload .flatpickr-day {
	color: rgba(232, 241, 246, 0.92);
	border-radius: 8px;
}

.page-upload .flatpickr-day:hover {
	background: var(--accent-soft);
	border-color: transparent;
}

.page-upload .flatpickr-day.selected,
.page-upload .flatpickr-day.startRange,
.page-upload .flatpickr-day.endRange {
	background: var(--accent);
	color: #06202b;
	border-color: transparent;
}

.page-upload .flatpickr-day.today {
	border-color: var(--accent);
}

.page-upload .flatpickr-day.today:hover {
	background: var(--accent-soft);
}

.page-upload .flatpickr-day.disabled,
.page-upload .flatpickr-day.disabled:hover {
	color: rgba(255, 255, 255, 0.25);
	background: transparent;
}

.page-upload .flatpickr-day.prevMonthDay,
.page-upload .flatpickr-day.nextMonthDay {
	color: rgba(232, 241, 246, 0.55);
}

.page-upload .flatpickr-time {
	border-top: 1px solid var(--border);
}

.page-upload .flatpickr-time input,
.page-upload .flatpickr-time .flatpickr-am-pm {
	background: var(--field-upload);
	color: var(--text);
	border-radius: 6px;
}

.page-upload .flatpickr-time input:hover,
.page-upload .flatpickr-time .flatpickr-am-pm:hover,
.page-upload .flatpickr-time input:focus,
.page-upload .flatpickr-time .flatpickr-am-pm:focus {
	background: var(--field-upload) !important;
	color: var(--text) !important;
	outline: none;
	box-shadow: 0 0 0 2px var(--accent-soft);
	border-color: var(--accent);
}

.page-upload .flatpickr-prev-month svg,
.page-upload .flatpickr-next-month svg {
	fill: var(--muted);
}

.page-upload .flatpickr-prev-month:hover svg,
.page-upload .flatpickr-next-month:hover svg {
	fill: var(--accent);
}

.page-upload .flatpickr-input[readonly] {
	background: var(--field-upload);
	color: var(--text);
	cursor: text;
}

.page-upload .numInputWrapper span {
	border-color: var(--border);
}

.page-upload .numInputWrapper span:after {
	border-top-color: var(--muted);
	border-bottom-color: var(--muted);
}

.page-upload .numInputWrapper span:hover:after {
	border-top-color: var(--accent);
	border-bottom-color: var(--accent);
}

/*
 * Reuse the Control Deck button language on the PRS iframe thank-you pages
 * without affecting the main upload form itself.
 */
body.page-thanks {
	background: #fff;
	color: #114552;
	font-family: asap, sans-serif;
	margin: 0;
	padding: 0;
}

/* Mirror the PRS iframe's simple single-column layout and readable spacing. */
body.page-thanks .panel {
	margin: 0;
	max-width: none;
	padding: 0;
}

body.page-thanks h1 {
	color: #114552;
	font-family: asap, sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

body.page-thanks p {
	color: #114552;
	font-family: asap, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 1.25rem;
}

body.page-thanks p a {
	color: #2fb6d9;
	font-weight: 700;
}

body.page-thanks p a:hover,
body.page-thanks p a:focus {
	color: #1c8fb0;
}

body.page-thanks .actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

body.page-thanks .actions a {
	border: 1px solid transparent;
	border-radius: 4px;
	display: inline-block;
	font-family: asap, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.2;
	padding: 0.95rem 1.4rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* The Centova action is the primary next step, so give it the active teal. */
body.page-thanks .actions a:first-child {
	background: #2fb6d9;
	border-color: #2fb6d9;
	color: #fff;
}

body.page-thanks .actions a:first-child:hover,
body.page-thanks .actions a:first-child:focus {
	background: #1c8fb0;
	border-color: #1c8fb0;
	color: #fff;
}

/* The return action should sit back visually as the secondary dark button. */
body.page-thanks .actions a:last-child {
	background: #114552;
	border-color: #114552;
	color: #fff;
}

body.page-thanks .actions a:last-child:hover,
body.page-thanks .actions a:last-child:focus {
	background: #0b3440;
	border-color: #0b3440;
	color: #fff;
}
