@import url("autocomplete.css");
@import url("widget.css");

.rutanCMS .eventMain,
.rutanCMS .projectMain {
	height: 100%;
	overflow-y: auto;
}

.rutanCMS .projectMain .projectEventRef {
	margin-top: 4px;
	font-size: 0.9em;
	opacity: 0.7;
}

.rutanCMS .eventWrap {
	padding: 30px 40px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.rutanCMS .eventEmpty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: rgba(0, 0, 0, 0.2);
	gap: 12px;
}

.rutanCMS .eventEmpty i {
	font-size: 64px;
}

.rutanCMS .eventHeaderImage {
	margin-bottom: 24px;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.06);
	aspect-ratio: 16/6;
}

.rutanCMS .eventHeaderImage img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.rutanCMS .eventCard {
	position: relative;
	width: calc(50% - 10px);
	margin-bottom: 24px;
}

.rutanCMS .eventHeader {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 24px;
}

.rutanCMS .eventHeader .eventCardActions {
	display: flex;
	gap: 4px;
	margin-left: auto;
	flex-shrink: 0;
}

.rutanCMS .eventCardActions {
	display: flex;
	gap: 4px;
}

.rutanCMS .eventAvatar {
	width: 100px;
	height: 100px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
	background: rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
}

.rutanCMS .eventAvatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rutanCMS .eventAvatar.placeholder i {
	font-size: 30px;
	color: rgba(0, 0, 0, 0.2);
}

.rutanCMS .eventHeaderInfo {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.rutanCMS .eventHeaderInfo h1 {
	margin: 0;
}

.rutanCMS .eventDetails {
	display: flex;
	flex-direction: column;
}

.rutanCMS .eventDetailRow {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.rutanCMS .eventDetailRow:last-child {
	border-bottom: none;
}

.rutanCMS .eventDetailRow > div:not(.rowActions) {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.rutanCMS .eventDetailRow label {
	font-size: 11px;
	font-weight: 600;
	color: var(--cmsSecondaryColor);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rutanCMS .eventDetailRow > div:not(.rowActions) a,
.rutanCMS .eventDetailRow > div:not(.rowActions) span {
	color: var(--cmsMainColor);
	text-decoration: none;
}

.rutanCMS .eventDetailRow > div:not(.rowActions) a:hover {
	color: var(--cmsHighlightColor);
}

.rutanCMS .eventDetailRow .rowActions {
	display: flex;
	gap: 2px;
	align-items: center;
	flex-shrink: 0;
	margin-left: auto;
}

.rutanCMS .eventResponsible {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.rutanCMS .responsibleAvatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.06);
	color: rgba(0, 0, 0, 0.25);
}

.rutanCMS .responsibleAvatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rutanCMS .responsibleAvatar i {
	font-size: 14px;
}

.rutanCMS .responsibleText {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.rutanCMS .responsibleName {
	font-weight: 400;
}
.rutanCMS .responsibleCompany {
	font-size: 13px;
	color: var(--cmsSecondaryColor);
}

.rutanCMS .eventMetaInfo {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 12px;
	color: rgba(0, 0, 0, 0.3);
}

.rutanCMS .emptyHint {
	color: rgba(0, 0, 0, 0.35);
	margin: 6px 0;
}

.eventDetailRow .button {
	& i {
		font-size: 20px;
		margin-right: 0;
	}
}

.rutanCMS .eventCardActions .button i {
	margin: 0;
}