/* This stylesheet is handwritten by Ragnar | ragnar@meego.ee */

:root {
	--ui-bg: #eef3f9;
	--ui-bg-2: #f7faff;
	--ui-border: rgba(148, 163, 184, 0.22);
	--ui-text: #1f2937;
	--ui-primary: #22c55e;
	--ui-primary-dark: #16a34a;
	--ui-accent: #60a5fa;
	--ui-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
	--ui-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
	--ui-radius: 20px;
	--ui-radius-sm: 12px;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	background:
		radial-gradient(circle at top left, rgba(34,197,94,.08), transparent 24%),
		radial-gradient(circle at top right, rgba(96,165,250,.10), transparent 22%),
		linear-gradient(180deg, var(--ui-bg-2) 0%, var(--ui-bg) 100%);
	color: var(--ui-text);
/*
	background-image: url('/img/board.jpg');
	background-repeat: repeat;
	background-color: rgba(153,117,39,.5);
	background-blend-mode: darken;
*/
}

/* keep main layout readable */
body {
	font-family: 'Nunito', sans-serif;
}

#app {
	padding: 10px;
	min-height: 100vh;
}

/* link and inputs design */
a {
	color: #4c8201;
}
a:not(.btn):not(.navbar-brand):not(.manage-project):not(.dropdown-toggle):not(.app-user-trigger):not(.dashboard-week-timed-event):not(.dashboard-week-allday-event):hover,
a:not(.btn):not(.navbar-brand):not(.manage-project):not(.dropdown-toggle):not(.app-user-trigger):not(.dashboard-week-timed-event):not(.dashboard-week-allday-event):active,
a:not(.btn):not(.navbar-brand):not(.manage-project):not(.dropdown-toggle):not(.app-user-trigger):not(.dashboard-week-timed-event):not(.dashboard-week-allday-event):focus {
	color: #eaa100 !important;
	background-color: transparent !important;
	text-decoration: none;
}

input:disabled,
textarea:disabled,
input[readonly] {
	box-shadow: none;
	border: 1px solid #dee2e6;
	background-color: #f1f1f1 !important;
	color: #999;
}
input[readonly]:focus {
	box-shadow: none;
}
input:disabled + label,
input:disabled + label:before {
	color: #dee2e6 !important;
}

/* outer main spacing only */
main.py-4 {
	padding-top: 1.5rem !important;
	padding-bottom: 2rem !important;
}

/* alerts design */
.alert {
	border: 0;
	border-radius: 14px;
	box-shadow: var(--ui-shadow-soft);
}

/* modals design */
.modal-content {
	border-radius: 22px;
	border: 1px solid var(--ui-border);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
	overflow: hidden;
}
.modal-header,
.modal-footer {
	border-color: rgba(148,163,184,.14);
}
.manage-asset-modal .lang-flag {
	height: 20px;
}
#manage-project-dialog .modal-body {
	max-height: 76vh;
}
.time-manual-fields select {
	max-width: 70px;
}

/* card design */
.card {
	border-radius: 24px;
	border: 1px solid var(--ui-border);
	background: rgba(255,255,255,.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: var(--ui-shadow);
	overflow: hidden;
/*
	background-image: url('/img/back-paper.jpg');
	background-repeat: repeat;
	background-color: rgba(255,255,255,.8);
	background-blend-mode: lighten;
*/
}
.card .card-header {
	background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
	border-bottom: 1px solid rgba(148,163,184,.14);
	padding: 1rem 1.25rem;
}

.btn {
	border-radius: 12px;
}
.btn-primary {
	border: 1px solid #4c8201 !important;
	background: linear-gradient(135deg, #67c23a, #4c8201) !important;
	color: #fff !important;
}
.btn-outline-primary {
	border: 1px solid #4c8201 !important;
	color: #4c8201;
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
	border: 1px solid #4c8201 !important;
	background: linear-gradient(135deg, #73cf46, #588f08) !important;
	color: #fff !important;
}
.btn-outline-secondary {
	border-color: #ced4da;
}
.btn-info {
	border: 1px solid #eaa100 !important;
	background: linear-gradient(135deg, #f3bb3f, #eaa100) !important;
	color: #fff !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
	border: 1px solid #eaa100 !important;
	background: linear-gradient(135deg, #f5c557, #efac17) !important;
	color: #fff !important;
}
.btn-primary.disabled, .btn-primary:disabled,
.btn-info.disabled, .btn-info:disabled {
	border: 1px solid #dee2e6;
	background-color: #f1f1f1;
	color: #999;
}
.btn-link {
	color: #4c8201;
}
.btn-light:hover {
	color: #4c8201 !important;
}
.text-primary {
	color: #4c8201 !important;
}
.text-info {
	color: #eaa100 !important;
}
a.text-info:hover {
	color: #4c8201 !important;
}
.bg-primary {
	background-color: rgba(81,188,27,0.05) !important;
}
.bg-info {
	background-color: #fff5de !important;
}
.border-primary {
	border-color: #4c8201 !important;
}
.border-info {
	border-color: #eaa100 !important;
}

/* TOP navigation */
.navbar {
	background-color: rgba(234,161,0,.8);
}
.navbar .navbar-brand,
.navbar .manage-project:not(.dropdown-item),
.navbar .dropdown .dropdown-toggle,
.navbar .nav-link.app-user-trigger {
	color: #fff;
}
.navbar .navbar-brand:hover,
.navbar .manage-project:not(.dropdown-item):hover,
.navbar .dropdown .dropdown-toggle:hover,
.navbar .nav-link.app-user-trigger:hover {
	color: #4c8201;
}
.navbar .navbar-brand {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 0;
}
.navbar .navbar-brand img {
	display: inline-block;
	margin: 0;
	max-height: 34px;
	border-radius: 10px;
	padding: 4px;
	background: rgba(255,255,255,.08);
}
.navbar .navbar-nav a.dropdown-item:hover {
	color: #eaa100 !important;
}

/* main navbar shell */
.navbar.navbar-laravel {
	margin: 0 auto;
	min-height: 72px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 22px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
	z-index: 9;
}

/* top action icon */
.navbar .manage-project:not(.dropdown-item) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.08);
	text-decoration: none;
}

/* user dropdown trigger */
.navbar .nav-link.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: .55rem .9rem;
	border-radius: 999px;
	background: rgba(255,255,255,.08);
}

/* dropdown menu */
.navbar .dropdown-menu {
	margin-top: 10px;
	padding: 8px;
	border: 1px solid var(--ui-border);
	border-radius: 16px;
	box-shadow: var(--ui-shadow);
	background: rgba(255,255,255,.96);
}
.navbar .navbar-nav a.dropdown-item {
	border-radius: 10px;
	padding: .65rem .8rem;
	color: var(--ui-text);
}
.navbar .navbar-nav a.dropdown-item:hover {
	color: var(--ui-primary-dark) !important;
	background: rgba(34,197,94,.08) !important;
}
.navbar .navbar-nav .project-list-wrapper {
	max-height: 175px;
}
.navbar .navbar-nav .lang-flag {
	margin-right: 8px;
	width: 18px;
}

/* Custom css */
table > tbody > tr > td:first-of-type i.d-block.fas {
	cursor: pointer;
}
.split-view-line {
	border-right: 3px solid #dee2e6;
	border-bottom: 0px;
}
#group-members-list {
	max-height: 260px;
	overflow-y: auto;
}
#editor-wrapper,
#answer-editor-wrapper {
	background: #fff;
	border: 1px solid #ced4da;
	border-radius: .375rem;
	overflow: hidden;
}
.ck-editor__editable {
	min-height: 220px;
}
.ck.ck-editor__main > .ck-editor__editable {
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
}
.ck.ck-balloon-panel,
.ck.ck-dropdown__panel {
	z-index: 20000 !important;
}
.project-rich-content {
	word-break: break-word;
}
.project-rich-content img {
	max-width: 100%;
	height: auto;
}
.project-rich-content * {
	font-size: 0.83rem;
	line-height: 1.4;
}
.project-rich-content > * {
	margin-bottom: 0.5rem;
}
.project-rich-content iframe {
	max-width: 100%;
	border: 0;
	border-radius: 12px;
}
.project-rich-content > :last-child {
	margin-bottom: 0;
}
.project-answers-wrapper {
	max-height: 50vh;
	overflow-y: auto;
}
.answer-related-items {
	padding: 0.25rem 0.45rem;
	border-top: 1px solid #dee2e6;
	background-color: #f8f9fa;
}
.archive-check {
	position: relative;
	display: inline-flex;
	width: 20px;
	height: 20px;
	cursor: pointer;
}
.archive-check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.archive-check span {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 1px solid #ced4da;
	background: #fff;
	transition: all .2s ease;
	box-shadow: inset 0 0 0 0 #4c8201;
}
.archive-check input:checked + span {
	border-color: #4c8201;
	box-shadow: inset 0 0 0 10px #4c8201;
}
.archive-check input:checked + span::after {
	content: '';
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.activity-list-item {
	transition: all .2s ease;
	background: #fff;
}
.activity-list-item:hover {
	box-shadow: 0 .35rem 1rem #dee2e6;
	transform: translateY(-1px);
}
.activity-list-item.is-unseen {
	background: #fff7e6;
	border-left: 3px solid #eaa100;
}
.activity-list-item.is-unseen:hover {
	background: #ffefcc;
}
.item-chat-row.is-unseen,
.item-date-row.is-unseen,
.item-file-row.is-unseen,
.item-checklist-row.is-unseen,
.item-time-table tr.is-unseen,
.item-budget-table tr.is-unseen {
	background: #fffaf0;
}
.item-chat-row.is-unseen:hover,
.item-date-row.is-unseen:hover,
.item-file-row.is-unseen:hover,
.item-checklist-row.is-unseen:hover,
.item-time-table tr.is-unseen:hover,
.item-budget-table tr.is-unseen:hover {
	background: #fff2d9;
}
.unseen-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	background: #fff1bf;
	color: #8a5a00;
	border: 1px solid rgba(234,161,0,.35);
	white-space: nowrap;
}
.dashboard-swipe-area {
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}
.dashboard-search-form {
	flex: 0 1 320px;
	transition: width .15s ease;
}
.dashboard-search-form .input-group {
	flex-wrap: nowrap;
}
@media only screen and (max-width: 767px) {
	.dashboard-search-form {
		width: 100%;
		flex-basis: 100%;
	}
}

/* Toolbar */
.dashboard-toolbar-card .ui-datepicker-trigger,
.jquery-date-field {
	max-width: 160px;
}
.dashboard-toolbar-card button.btn {
	border-radius: 0;
}
.dashboard-toolbar-main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.85rem 1rem;
}
.dashboard-toolbar-side {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}
.dashboard-toolbar-left {
	flex: 1 1 30%;
	justify-content: flex-start;
	flex-wrap: nowrap;
}
.dashboard-toolbar-center {
	flex: 1 1 0%;
	justify-content: center;
	flex-wrap: nowrap;
}
.dashboard-toolbar-right {
	flex: 1 1 100px;
	justify-content: flex-end;
	flex-wrap: nowrap;
}
.dashboard-toolbar-title {
	white-space: nowrap;
}
.dashboard-toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0;
}
.dashboard-toolbar-period-form {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex: 1 1 0%;
}
.dashboard-toolbar-period-form .input-group {
	justify-content: flex-end;
	flex-wrap: nowrap;
}
.dashboard-tag-filter-select {
	min-width: 120px;
	max-width: 180px;
}

/* Calendar */
.dashboard-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}
.dashboard-calendar-day {
	min-height: 120px;
	border-top: 1px solid #dee2e6;
}
.dashboard-calendar-day:not(:nth-child(7n)) {
	border-right: 1px solid #dee2e6;
}
.dashboard-calendar-day.is-other-month {
	background: #f8f9fa;
	opacity: .75;
}
.dashboard-calendar-day.is-today {
	background-color: rgba(81,188,27,0.05);
}
.dashboard-calendar-events {
	margin-top: .5rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.dashboard-calendar-event {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: left;
}

/* Gantt */
.dashboard-gantt-swipe-header {
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 2;
	cursor: grab;
}
.dashboard-gantt-swipe-header:active {
	cursor: grabbing;
}
.dashboard-gantt-wrap {
	max-height: 69vh;
}
.dashboard-gantt-table {
	border-collapse: separate;
	border-spacing: 0;
}
.dashboard-gantt-table th,
.dashboard-gantt-table td {
	border-bottom: 1px solid #e9ecef;
	vertical-align: top;
}
.dashboard-gantt-table tbody tr:hover th,
.dashboard-gantt-table tbody tr:hover td {
	background-color: #f8f9fa;
}
.dashboard-gantt-task-col {
	position: sticky;
	left: 0;
	width: clamp(170px, 22vw, 220px);
	min-width: clamp(170px, 22vw, 220px);
	max-width: clamp(170px, 22vw, 220px);
	height: 100%;
	padding: 0;
	background: #fff;
	border-right: 1px solid #e9ecef;
	z-index: 2;
}
.dashboard-gantt-task-col .gantt-task-title {
	display: block;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dashboard-gantt-day-col {
	width: 34px;
	min-width: 34px;
}
.dashboard-gantt-cell {
	width: 34px;
	min-width: 34px;
	background: #fff;
	padding: 8px 0;
}
.dashboard-gantt-cell-bars {
	display: flex;
	flex-direction: column;
	gap: 3px;
	align-items: stretch;
	justify-content: flex-start;
	min-height: 26px;
}
.dashboard-gantt-bar {
	height: 6px;
	background: #eaa100;
	border-radius: 0;
	opacity: .75;
}
.dashboard-gantt-bar.is-start {
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
}
.dashboard-gantt-bar.is-end {
	border-top-right-radius: 999px;
	border-bottom-right-radius: 999px;
}
.dashboard-gantt-date-list {
	line-height: 1.25;
}
.dashboard-gantt-date-label {
	margin-top: .2rem;
	white-space: normal;
	word-break: break-word;
}

/* Week */
.dashboard-week-view {
	--week-time-col: 70px;
	--week-day-min: 130px;
	background: #fff;
	border-top: 1px solid #e9ecef;
}
.dashboard-week-horizontal-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	background: #fff;
	touch-action: pan-x pan-y;
	-webkit-overflow-scrolling: touch;
}
.dashboard-week-vertical-scroll {
	height: 100%;
	overflow-y: auto;
	overflow-x: visible;
	scroll-behavior: smooth;
	background: #fff;
	position: relative;
	width: 100%;
	min-width: 0;
}
.dashboard-week-header,
.dashboard-week-allday-row,
.dashboard-week-timegrid {
	display: grid;
	grid-template-columns: var(--week-time-col) repeat(7, minmax(var(--week-day-min), 1fr));
	min-width: calc(var(--week-time-col) + (7 * var(--week-day-min)));
	background: #fff;
}
.dashboard-week-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid #e9ecef;
	touch-action: pan-y;
}
.dashboard-week-corner {
	position: sticky;
	left: 0;
	z-index: 21;
	width: var(--week-time-col);
	min-width: var(--week-time-col);
	max-width: var(--week-time-col);
	box-sizing: border-box;
	background: #fff;
	border-right: 1px solid #e9ecef;
	box-shadow: 1px 0 0 #e9ecef;
}
.dashboard-week-header-day {
	padding: 0.55rem 0.35rem 0.7rem;
	text-align: center;
	border-right: 1px solid #e9ecef;
	background: #fff;
}
.dashboard-week-header-dow {
	font-size: 0.72rem;
	font-weight: 700;
	color: #6c757d;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.dashboard-week-header-date {
	margin-top: 0.15rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: #495057;
}
.dashboard-week-header-day.is-today .dashboard-week-header-date {
	width: 34px;
	height: 34px;
	line-height: 34px;
	margin: 0.2rem auto 0;
	border-radius: 50%;
	background: #4c8201;
	color: #fff;
}
.dashboard-week-allday-row {
	position: relative;
	z-index: 10;
	background: #fff;
	border-bottom: 1px solid #e9ecef;
}
.dashboard-week-allday-label {
	position: sticky;
	left: 0;
	z-index: 11;
	width: var(--week-time-col);
	min-width: var(--week-time-col);
	max-width: var(--week-time-col);
	box-sizing: border-box;
	padding: 0.75rem 0.5rem;
	font-size: 0.8rem;
	color: #6c757d;
	background: #fff;
	border-right: 1px solid #e9ecef;
	box-shadow: 1px 0 0 #e9ecef;
}
.dashboard-week-allday-cell {
	padding: 0.3rem;
	min-height: 44px;
	border-right: 1px solid #e9ecef;
	background: #fff;
}
.dashboard-week-allday-event {
	display: block;
	margin-bottom: 0.2rem;
	padding: 0.2rem 0.45rem;
	border-radius: 0;
	background: rgba(234,161,0,.14);
	border-left: 1px solid #eaa100;
	color: #495057;
	font-size: 0.8rem;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.dashboard-week-allday-event:hover {
	background: rgba(234,161,0,.22);
	color: #4c8201;
}
.dashboard-week-timegrid {
	position: relative;
	z-index: 1;
}
.dashboard-week-timeaxis {
	position: sticky;
	left: 0;
	z-index: 12;
	width: var(--week-time-col);
	min-width: var(--week-time-col);
	max-width: var(--week-time-col);
	box-sizing: border-box;
	background: #fff;
	border-right: 1px solid #e9ecef;
	box-shadow: 1px 0 0 #e9ecef;
}
.dashboard-week-timeaxis-slot {
	position: relative;
	height: 56px;
	border-bottom: 1px solid #f1f3f5;
	font-size: 0.75rem;
	color: #868e96;
	background: #fff;
}
.dashboard-week-timeaxis-slot span {
	position: absolute;
	top: -0.55rem;
	right: 0.6rem;
	background: #fff;
	padding: 0 0.2rem;
}
.dashboard-week-day-column {
	position: relative;
	border-right: 1px solid #e9ecef;
	background: #fff;
}
.dashboard-week-day-column.is-today {
	background: rgba(81,188,27,0.03);
}
.dashboard-week-hour-cell {
	height: 56px;
	border-bottom: 1px solid #f1f3f5;
}
.dashboard-week-timed-event {
	position: absolute;
	left: 4px;
	right: 4px;
	display: block;
	padding: 0.28rem 0.42rem;
	border-radius: 0;
	background: #d9ecff;
	border-left: 1px solid var(--ui-accent);
	color: #1f2937;
	text-decoration: none;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(15,23,42,.08);
	overflow: hidden;
	z-index: 2;
}
.dashboard-week-timed-event,
.dashboard-week-allday-event {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dashboard-week-event-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	min-width: 0;
	width: 100%;
}
.dashboard-week-event-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	flex: 0 0 auto;
	opacity: .7;
}
.dashboard-week-event-time {
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	flex: 0 0 auto;
	white-space: nowrap;
}
.dashboard-week-event-title {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	line-height: 1.2;
}
.dashboard-week-timed-event.is-task {
	background: #fff5de;
	border-left-color: #eaa100;
}
.dashboard-week-timed-event.is-activity {
	background: rgba(34,197,94,.08);
	border-left-color: var(--ui-primary-dark);
}
.dashboard-week-timed-event.continues-from-prev {
	border-top-left-radius: 10px;
}
.dashboard-week-timed-event.continues-to-next {
	border-bottom-right-radius: 10px;
}
.dashboard-week-timed-event:hover {
	background: rgba(34,197,94,.16);
	color: #4c8201;
}
.dashboard-week-timed-event.is-task:hover {
	background: rgba(234,161,0,.22);
}
.dashboard-week-timed-event-time {
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
}
.dashboard-week-timed-event-title {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	margin-top: 0.1rem;
}
.dashboard-week-timed-event-location {
	font-size: 0.72rem;
	line-height: 1.2;
	color: #5f6b76;
	margin-top: 0.1rem;
}
.dashboard-week-now-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: #dc3545;
	z-index: 4;
	pointer-events: none;
}
.dashboard-week-now-dot {
	position: absolute;
	left: -4px;
	top: -4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #dc3545;
}

/* Sidebar */
.dashboard-items-mode-toggle .btn {
	min-width: 70px;
}
.dashboard-sidebar {
	-webkit-box-shadow: -12px 0px 14px -13px rgba(33, 37, 41, 0.2), 0px 0px 0px 0px rgba(33, 37, 41, 0.2);
	-moz-box-shadow: -12px 0px 14px -13px rgba(33, 37, 41, 0.2), 0px 0px 0px 0px rgba(33, 37, 41, 0.2);
	box-shadow: -12px 0px 14px -13px rgba(33, 37, 41, 0.2), 0px 0px 0px 0px rgba(33, 37, 41, 0.2);
}
.sticky-detail-sidebar {
	position: sticky;
	top: 1rem;
}
.sidebar-restore-btn {
	position: relative;
	top: -4px;
	min-width: 30px;
	height: 30px;
	line-height: 30px;
}
.jquery-time-select {
	min-width: 90px;
}
.file-upload-wrap.d-none,
.file-rename-wrap.d-none {
	display: none !important;
}

/* Item detail tabs */
#itemDetailTabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 0;
	padding-left: 0;
}
#itemDetailTabs .nav-item {
	display: inline-flex;
	align-items: stretch;
	margin: 0 0 -1px 0;
}
#itemDetailTabs .nav-link,
#itemDetailTabs .add-tab-action {
	height: 42px;
}
#itemDetailTabs .nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0 0.95rem;
	margin: 0;
	border: 1px solid #dee2e6;
	border-right: 0;
	border-bottom: 1px solid #dee2e6;
	border-radius: 0.6rem 0 0 0;
	background: #f8f9fa;
	color: #495057;
	line-height: 1;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: none !important;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	overflow: visible;
}
#itemDetailTabs .add-tab-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 0 0.7rem;
	margin: 0;
	border: 1px solid #dee2e6;
	border-left: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	border-radius: 0 0.6rem 0 0;
	background: #f8f9fa;
	color: #4c8201;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
#itemDetailTabs .add-tab-action i {
	font-size: 0.82rem;
	line-height: 1;
}
#itemDetailTabs .nav-link .badge {
	font-size: 10px;
	line-height: 1;
	margin-left: 0.15rem !important;
}
#itemDetailTabs .answers-unseen-badge,
#itemDetailTabs .dates-unseen-badge,
#itemDetailTabs .files-unseen-badge {
	font-size: 10px;
	line-height: 1;
}
#itemDetailTabs .tab-title-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	padding-left: 0.15rem;
}
#itemDetailTabs .tab-title-label {
	display: inline-block;
}
#itemDetailTabs .tab-unseen-badge {
	position: absolute;
	top: -1rem;
	left: -1.2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 50px;
	background: #eaa100;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
	z-index: 3;
	transform: rotate(345deg);
}
#itemDetailTabs .nav-link.active .tab-unseen-badge {
	box-shadow: 0 0 0 2px #fff;
}
#itemDetailTabs .nav-item:hover .nav-link,
#itemDetailTabs .nav-item:hover .add-tab-action {
	background: #fffdf6;
}
#itemDetailTabs .nav-link:hover,
#itemDetailTabs .nav-link:focus {
	color: #4c8201;
}
#itemDetailTabs .add-tab-action:hover,
#itemDetailTabs .add-tab-action:focus {
	color: #eaa100;
}
#itemDetailTabs .nav-link.active {
	background: #fff;
	color: #4c8201;
	border-color: #dee2e6;
	border-right: 0;
	border-bottom-color: #fff;
	position: relative;
	z-index: 2;
}
#itemDetailTabs .nav-link.active + .add-tab-action {
	background: #fff;
	border-color: #dee2e6;
	border-bottom-color: #fff;
	position: relative;
	z-index: 2;
}
#itemDetailTabs .nav-link.active:hover,
#itemDetailTabs .nav-link.active:hover + .add-tab-action,
#itemDetailTabs .nav-item:hover .nav-link.active,
#itemDetailTabs .nav-item:hover .nav-link.active + .add-tab-action {
	background: #fff;
}
#itemDetailTabsContent {
	margin-top: 0;
	border-top: 0 !important;
	border-top-left-radius: 0;
}

/* Modern tab content */
.modern-item-tabs-content {
	background: #fff;
	border: 1px solid #dee2e6;
	border-top: 0;
	border-radius: 0 0 0.6rem 0.6rem;
	padding: 0;
	overflow: hidden;
}
.item-empty {
	padding: 1.5rem 1.25rem;
	text-align: center;
	color: #adb5bd;
}
.item-content {
	padding: 0.35rem 0.45rem;
}
.item-meta-info {
	padding-left: 2rem;
}
.item-chat-row .item-meta-info {
	padding-left: .5rem;
}
.item-meta {
	font-size: 10px !important;
	opacity: 0;
}
.item-row-actions {
	opacity: .35;
	transition: opacity .15s ease;
}
.item-chat-row:hover .item-meta-info .item-meta,
.item-chat-row:hover .item-row-actions,
.item-date-row:hover .item-meta-info .item-meta,
.item-date-row:hover .item-row-actions,
.item-checklist-row:hover .item-meta-info .item-meta,
.item-checklist-row:hover .item-row-actions,
.item-file-row:hover .item-row-actions,
.item-file-row:hover .item-meta-info .item-meta {
	opacity: 1;
}

/* Answers: chat timeline */
.item-chat-list {
	background-color: #fff;
}
.item-chat-row {
	transition: background-color 0.15s ease;
	padding-top: 1rem;
}
.item-chat-row:not(:last-child) {
	border-bottom: 1px solid #dee2e6;
}
.item-chat-body {
	flex: 1 1 auto;
	min-width: 0;
}

/* Checlist: items list */
.item-checklist-list {
	background: #fff;
}
.item-checklist-row {
	border-bottom: 1px solid #dee2e6;
	transition: background-color 0.15s ease;
	padding-top: 1rem;
}
.item-checklist-row:last-child {
	border-bottom: 0;
}
.item-checklist-row:hover {
	background: #fffdf6;
}
.item-checklist-row.is-done {
	opacity: 0.72;
}
.item-checklist-row.is-done .item-checklist-title {
	text-decoration: line-through;
}
.item-checklist-main {
	line-height: 1.35;
	word-break: break-word;
}
.item-checklist-title {
	line-height: 1.35;
	word-break: break-word;
}
.item-checklist-description {
	line-height: 1.4;
	white-space: pre-line;
}

/* Dates: mini schedule timeline */
.item-date-list {
	background: #fff;
}
.item-date-row {
	border-bottom: 1px solid #dee2e6;
	transition: background-color 0.15s ease;
	padding-top: 1rem;
}
.item-date-row:last-child {
	border-bottom: 0;
}
.item-date-row:hover {
	background: #fffdf6;
}
.item-date-main {
	line-height: 1.35;
	word-break: break-word;
}
.item-date-notes {
	line-height: 1.4;
	white-space: pre-line;
}

/* Files: flat rows */
.item-file-list {
	background: #fff;
}
.item-file-row {
	border-bottom: 1px solid #dee2e6;
	transition: background-color 0.15s ease;
	padding-top: 1rem;
}
.item-file-row:last-child {
	border-bottom: 0;
}
.item-file-row:hover,
.item-chat-row:hover,
.item-schedule-row:hover {
	background: #fffdf6;
}
.item-file-link {
	display: inline-block;
	max-width: 100%;
	color: #495057;
	text-decoration: none;
	line-height: 1.35;
	word-break: break-word;
}
.item-file-link:hover {
	color: #4c8201;
}
.open-file-image-preview {
	position: relative;
	margin-left: 1.5rem;
}
.open-file-image-preview:before {
	content: "\f1c5";
	position: absolute;
	left: -1.5rem;
	font-family: 'Font Awesome\ 5 Free';
	color: #6c757d !important;
}
.item-file-thumbnail {
	display: block;
	width: 92px;
	height: 72px;
	object-fit: cover;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	background: #f8f9fa;
}
.item-file-thumbnail:hover {
	opacity: .9;
	box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .12);
}
.file-image-preview-img {
	display: inline-block;
	max-width: 100%;
	max-height: 75vh;
	object-fit: contain;
}

/* Time trackers: flat rows and pills */
.item-time-table-wrap {
	max-height: 100vh;
	background: #fff;
}
.item-time-table th,
.item-time-table td {
	padding: 0.35rem 0.45rem;
	vertical-align: top;
	white-space: nowrap;
}
.item-time-table td:nth-of-type(2) {
	width: 130px;
	min-width: 130px;
}
.item-time-table td:nth-of-type(3) {
	width: 80px;
	min-width: 80px;
}
.item-time-title-cell {
	min-width: 220px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.item-time-actions-cell {
	width: 90px;
	min-width: 90px;
}
.time-view-grid {
	display: grid;
	grid-template-columns: 95px minmax(0, 1fr);
	gap: 0.45rem 0.75rem;
}
.item-time-description {
	line-height: 1.4;
	white-space: pre-line;
}
.item-time-table th {
	background: #f8f9fa;
	color: #6c757d;
	font-size: 0.78rem;
	white-space: nowrap;
}
.item-time-table td {
	vertical-align: middle;
	border-color: #dee2e6;
}
.item-time-table tr:hover td {
	background-color: #fffdf6;
}
.item-time-table-description {
	max-width: 180px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #6c757d;
}
.time-filter-form .form-label {
	margin-bottom: 0.2rem;
}
.item-time-list {
	background: #fff;
}
.time-running-card {
	padding: 0.9rem 1rem;
	border-bottom: 1px solid #4c8201;
	background-color: rgba(81,188,27,0.05);
}
.time-running-card-compact {
	padding: 0.65rem 0.8rem;
}
.time-running-status-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: #dc3545;
	box-shadow: 0 0 0 4px rgba(220,53,69,.12);
	animation: time-running-pulse 1.4s infinite;
}
.time-total-period {
	white-space: nowrap;
}
.time-running-counter {
	font-size: 1.35rem;
	font-weight: 800;
	color: #4c8201;
	letter-spacing: 0.04em;
}
.time-running-counter-compact {
	font-size: 1.05rem;
	line-height: 1;
	white-space: nowrap;
}
.time-running-inline {
	font-variant-numeric: tabular-nums;
}
.time-running-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #dc3545;
	box-shadow: 0 0 0 3px rgba(220,53,69,.15);
	animation: time-running-pulse 1.4s infinite;
}
.time-running-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 0.35rem;
	border-radius: 999px;
	font-size: 0.75rem;
	line-height: 1;
	background: #fff1bf;
	color: #8a5a00;
	border: 1px solid rgba(234,161,0,.45);
	vertical-align: middle;
	animation: time-running-pulse 1.4s infinite;
}
.dashboard-gantt-task-col .time-running-pill {
	position: absolute;
	top: 0.5rem;
	right: -1rem;
}
@keyframes time-running-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(234,161,0,.45);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(234,161,0,0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(234,161,0,0);
	}
}
#time_checklist_item_id option[data-locked="1"] {
	background: #f1f1f1;
	color: #888;
}

/* Financial budget: flat rows */
.item-budget-table-wrap {
	max-height: 100vh;
	background: #fff;
}
.item-budget-table th,
.item-budget-table td {
	padding: 0.35rem 0.45rem;
	vertical-align: top;
	white-space: nowrap;
}
.item-budget-table td:first-child,
.item-budget-table th:first-child {
	white-space: normal;
	min-width: 220px;
}
.item-budget-section-row th {
	background: #f9f2f2;
	border-bottom: 1px solid #ff1f1f;
	font-size: 0.85rem;
}
.item-budget-section-row.item-budget-section-income th {
	background: rgba(81,188,27,0.05);
	border-bottom: 1px solid #4c8201;
}
.item-budget-head-row th {
	background: #f8f9fa;
	color: #6c757d;
	font-size: 0.78rem;
}
.item-budget-total-row th {
	background: #f8f9fa;
	border-top: 2px solid #dee2e6;
	font-size: 0.85rem;
}
.item-budget-actions-cell {
	width: 90px;
	min-width: 90px;
}
.budget-date-icon {
	display: inline-block;
	font-size: 12px;
	cursor: pointer;
}
.budget-date-icon:hover {
	color: #eaa100 !important;
}
.budget-relation-icon {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	opacity: 0.8;
}
.item-budget-table tr:hover td {
	background-color: #fffdf6;
}
.budget-paid-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 34px;
	height: 20px;
	padding: 2px;
	border: 1px solid #ced4da;
	border-radius: 999px;
	background: #e9ecef;
	transition: all .2s ease;
	cursor: pointer;
}
.budget-paid-switch.is-paid {
	background: rgba(81,188,27,.18);
	border-color: rgba(81,188,27,.35);
}
.budget-paid-switch-thumb {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,.15);
	transition: transform .2s ease;
}
.budget-paid-switch.is-paid .budget-paid-switch-thumb {
	transform: translateX(14px);
}
.budget-paid-switch.is-disabled {
	opacity: .6;
	cursor: not-allowed;
}
#budgetModal .btn-check:checked + .btn-outline-success {
	background: rgba(81,188,27,.12);
	border-color: #67c23a;
	color: #4c8201;
	font-weight: 600;
}
#budgetModal .btn-check:checked + .btn-outline-danger {
	background: rgba(220,53,69,.10);
	border-color: #dc3545;
	color: #dc3545;
	font-weight: 600;
}
#budgetModal .btn-check:checked + .btn-outline-secondary {
	background: #f8f9fa;
	border-color: #adb5bd;
	color: #6c757d;
	font-weight: 600;
}
#budgetModal .btn-outline-success:hover {
	background: rgba(81,188,27,.06);
	color: #4c8201;
}
#budgetModal .btn-outline-danger:hover {
	background: rgba(220,53,69,.06);
	color: #dc3545;
}
#budgetModal .btn-outline-secondary:hover {
	background: #f8f9fa;
	color: #6c757d;
}
#budgetModal input.btn-check:disabled + label,
#budgetModal input.btn-check:disabled + label:before {
	color: #999 !important;
}
#budget_related_budget_row_ids {
	max-height: 175px;
	overflow-y: auto;
}

/* Tags: flat rows */
.project-tag-badge {
	--tag-color: #6c757d;
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.78rem;
	line-height: 1.1;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	white-space: nowrap;
}
.project-tag-badge::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.4rem;
	border-radius: 50%;
	background: var(--tag-color);
}
.tag-check-wrap {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}
.tag-check-wrap input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.tag-check-wrap input:checked + .project-tag-badge {
	box-shadow: inset 0 0 0 1px #dee2e6, 0 0 0 2px var(--ui-primary);
}
.item-tag-row {
	padding: 0.9rem 0;
	border-top: 1px solid #dee2e6;
}
.item-tag-row:last-child {
	border-bottom: 0;
}

/* Pagination */
ul.pagination { display: -webkit-flex; -webkit-flex-wrap: wrap; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; gap: 5px; }
		ul.pagination li a, ul.pagination li span.page-link { float: none; border-color: #dee2e6; color: initial; }
			ul.pagination li a:hover { background-color: #eaa100; }
			ul.pagination li.active span.page-link, ul.pagination li:hover span.page-link { background-color: #eaa100; border-color: #dee2e6; color: #fff; }

/* Edit files */
.ddFiles .addFilesDesc { display: none; }
.ddFiles .row ul { display: -webkit-flex; -webkit-flex-direction: row; -webkit-flex-wrap: wrap; display: flex; flex-direction: row; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
	.ddFiles .row ul li { position: relative; flex: 1 1 calc(100% - 10px); margin: 5px 0 0; padding: 0; min-width: calc(50% - 10px); border: 1px solid #eaa100; }
		.ddFiles .row ul li > a { display: block; padding: 5px; color: #4c8201; }
			.ddFiles .row ul li > a > img { float: left; display: inline-block; margin: 3px 5px 0 0; padding: 0; }
				.ddFiles .row ul li > a.float-right > img { margin: 0; }
			.ddFiles .row ul li > a > i { font-size: .7rem; color: #999; }
			.ddFiles .row ul li > a.delaction, .ddFiles .row ul li > a.cngaction { background-color: #4c8201; color: #fff; }
				.ddFiles .row ul li > a.delaction:hover, .ddFiles .row ul li > a.cngaction:hover { background-color: #666; }
		.ddFiles .row ul li > input[type=checkbox] { position: absolute; top: 50%; left: 0; transform: translate(0, -50%); display: none; margin: 0; }
		.ddFiles .row ul li > label { margin: 0 5px 0 0; padding: 1px 10px 0; width: 34px; cursor: pointer; }
			.ddFiles .row ul li > label:before { content: "\f0c8"; font-family: 'Font Awesome\ 5 Free'; font-size: 20px; color: #666; }
			.ddFiles .row ul li > input[type=checkbox]:checked + label:before { content: "\f14a"; color: #4c8201; }
		.ddFiles .row ul li:hover { background-color: #f1f1f1 !important; }
.dropzone { min-height: 20px; padding: 0; border: 1px solid #666; background-color: #eaa100; border-radius: 4px; color: #666; }
	.dropzone:hover, .dropzone.disabled { border: 1px solid #dee2e6; background-color: #f1f1f1; color: #999; }
	.dropzone .dz-message { margin: 10px 0; }

/* Date-time-picker design */
#ui-datepicker-div { padding: 5px; border: 1px solid #dee2e6; border-radius: 0; }
	.ui-datepicker { width: auto; z-index: 20000 !important; }
	.ui-datepicker .ui-widget-header.ui-corner-all { background-color: #dee2e6; border: 0; border-radius: 0; }
	.ui-datepicker .ui-widget-header.ui-corner-all .ui-datepicker-title select { padding: 10px 5px; }
	.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-prev-hover { top: 12px; left: 7px; }
	.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-next-hover { top: 12px; right: 7px; }
	.ui-datepicker .ui-widget-header.ui-corner-all .ui-icon { background-image: url("../js/images/ui-icons_ffffff_256x240.png"); color: #dee2e6; }
		.ui-datepicker .ui-widget-header.ui-corner-all .ui-state-hover { border: 0; background-color: transparent; cursor: pointer; }
		.ui-datepicker .ui-widget-header.ui-corner-all .ui-state-hover .ui-icon { background-image: url("../js/images/ui-icons_555555_256x240.png"); }
	.ui-datepicker .ui-datepicker-calendar .ui-state-default { padding: 9px 12px; background-color: #dee2e6; color: #4c8201; border: 0; text-align: center; }
		.ui-datepicker .ui-datepicker-calendar .ui-priority-secondary { background-color: #f2f2f2; }
		.ui-datepicker .ui-datepicker-calendar .ui-state-highlight { background-color: #eaa100; }
		.ui-datepicker .ui-datepicker-calendar .ui-state-active { background-color: #eaa100; }
		.ui-datepicker .ui-datepicker-calendar .ui-state-hover { background-color: #eaa100; }
	.ui-datepicker .ui-timepicker-div dl { margin: 0; }
	.ui-datepicker .ui-timepicker-div dt, .ui-datepicker .ui-timepicker-div .ui_tpicker_time_label { padding: 10px 10px 10px 5px; }
	.ui-datepicker .ui-timepicker-div select { padding: 10px; }
	.ui-datepicker .ui-datepicker-buttonpane button { margin: 5px; padding: 10px; }

@media (min-width: 1200px){
	.container {
		max-width: 1400px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1199px){
	#itemDetailTabs .nav-link,
	#itemDetailTabs .add-tab-action {
		height: 36px;
	}
	#itemDetailTabs .nav-link {
		gap: 0.3rem;
		padding: 0 0.3rem;
		font-size: 0.8rem;
	}
}

@media (min-width: 992px){
	.dashboard-sidebar-content {
		display: block !important;
	}
	.dashboard-sidebar-content > div {
		max-height: 76vh;
	}
}

@media (min-width: 768px) {
	.card {
		border-radius: 22px;
	}
}

@media only screen and (max-width: 991px){
	.split-view-line {
		border-right: 0;
		border-bottom: 3px solid #dee2e6;
	}
	.dashboard-toolbar-card {
		border-bottom: 1px solid #4c8201;
	}
	.dashboard-toolbar-main {
		align-items: stretch;
	}
	.dashboard-toolbar-left {
		flex: 1 1 auto;
	}
	.dashboard-toolbar-center {
		flex: 1 1 0%;
		justify-content: flex-start;
	}
	.dashboard-toolbar-right {
		flex: 1 1 auto;
	}
	.dashboard-toolbar-actions {
		justify-content: flex-end;
		flex-wrap: wrap;
	}
	.dashboard-toolbar-title {
		flex: 0 0 auto;
	}
	.dashboard-toolbar-period-form {
		flex: 1 1 auto;
		min-width: 0;
	}
	.dashboard-toolbar-period-form .input-group {
		width: auto;
		max-width: none;
		flex-wrap: nowrap;
	}
	.dashboard-calendar-day {
		min-height: 86px;
	}
	.dashboard-gantt-task-col {
		position: static;
	}
	.dashboard-week-header,
	.dashboard-week-allday-row,
	.dashboard-week-timegrid {
		min-width: 860px;
	}
	.dashboard-sidebar {
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
	.dashboard-sidebar-content {
		display: none;
	}
	.dashboard-sidebar-content > div {
		max-height: 50vh;
	}
}

@media only screen and (max-width: 767px){
	.navbar #navbarSupportedContent #navbarDropdown:after {
		display: none !important;
	}
	.navbar #navbarSupportedContent .navbar-nav > li.dropdown .dropdown-menu {
		display: block;
	}
	.navbar.navbar-laravel {
		border-radius: 18px;
		margin-top: 10px;
	}
	.navbar .nav-link.dropdown-toggle {
		display: flex;
		justify-content: center;
		background: transparent;
		padding: .3rem .4rem 0;
	}
	.navbar .navbar-nav a.dropdown-item {
		padding: .3rem .4rem;
	}
	.dashboard-toolbar-left {
		justify-content: space-between;
		width: 100%;
	}
	.dashboard-toolbar-actions {
		justify-content: flex-start;
	}
	.dashboard-toolbar-period-form .input-group {
		width: 100%;
		flex-wrap: wrap;
	}
	.dashboard-tag-filter-select {
		width: 100%;
		max-width: none;
	}
	.dashboard-calendar-day {
		min-height: 66px;
		padding: 0.25rem !important;
	}
	.dashboard-calendar-events {
		margin-top: 0.25rem;
		gap: 0.15rem;
	}
	.dashboard-calendar-event {
		font-size: 10px;
		line-height: 1.1;
		padding: 1px 3px !important;
		border-radius: 0;
	}
	#itemDetailTabs {
		gap: 0.25rem;
		margin-bottom: 0.25rem;
	}
	#itemDetailTabs .nav-item {
		display: flex;
		width: 100%;
	}
	#itemDetailTabs .nav-link {
		flex: 1 1 auto;
		padding: 0 0.75rem;
		font-size: 0.93rem;
		border-radius: 0;
	}
	#itemDetailTabs .add-tab-action {
		min-width: 42px;
		padding: 0 0.6rem;
		border-radius: 0;
	}
	#itemDetailTabs .nav-link.active,
	#itemDetailTabs .nav-link.active + .add-tab-action {
		border-bottom-color: #dee2e6;
	}
	#itemDetailTabsContent {
		border-top: 1px solid #dee2e6 !important;
	}
	.modern-item-tabs-content {
		margin-bottom: 0.5rem;
		border-radius: 0.6rem 0.6rem 0 0 !important;
	}
	.item-time-table-wrap {
		overflow-x: auto;
	}
	.item-time-title-cell {
		max-width: 160px;
	}
	.item-time-table th,
	.item-time-table td {
		padding: 0.35rem;
	}
	.time-view-grid {
		grid-template-columns: 80px minmax(0, 1fr);
	}
}

@media only screen and (max-width: 575px) {
	#dodo-branding-navbar {
		max-width: calc(100% - 60px);
	}
	#dodo-branding-navbar .navbar-brand {
		white-space: wrap;
	}
	#dodo-branding-navbar .navbar-brand .app-brand-subtitle {
		font-size: 0.8em;
	}
}

@media only screen and (max-width: 480px){
	.btn:not(.dashboard-calendar-event) {
		white-space: normal;
	}
}
