/* loading page styles */
html, body
{
	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
}

#loading-outer
{
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

#loading-outer[id]
{
	display: flex;
	position: static;
}

#loading-middle /* for explorer only */
{
	position: absolute;
	top: 50%;
	width: 100%;
	text-align: center;
}

#loading-middle[id]
{
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

#loading-inner /* for explorer only */
{
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 20px;
	background: #f5f5f5;
	border: 1px solid #ddd;
}

#loading-inner.is-login {
	background: #ffffff;
	border: 1px solid #ccc;
}

#loading-inner.is-app {
	background: #f8f8f8;
}

#loading-message
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
	color: #333333;
	margin-top: 10px;
	margin-bottom: 5px;
}

/* Delivera logo */
#loading-logo {
	margin-bottom: 15px;
}

#loading-logo img {
	max-width: 200px;
	max-height: 60px;
}

/* Simple loading spinner */
#loading-spinner {
	width: 32px;
	height: 32px;
	margin: 0 auto 10px;
	background: url('../images/loading.gif') no-repeat center center;
}

/* Progress bar */
#loading-progress {
	width: 100%;
	height: 2px;
	background: #e0e0e0;
	margin-top: 10px;
}

#loading-progress-bar {
	height: 100%;
	background: #4285f4;
	width: 0%;
}

/* Loading steps indicator */
#loading-steps {
	display: none;
}

/* Performance optimization */
#loading-outer.fade-out {
	display: none;
}

#working-message
{
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 10pt;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}

#sencha-logo
{
	position: absolute;
	right: 104px;
	bottom: 15px;
	z-index: 65536;
}

#xhtml-valid-indicator
{
	position: absolute;
	right: 15px;
	bottom: 15px;
	z-index: 65536;
}

#sencha-logo a, #xhtml-valid-indicator a
{
	cursor: default !important;
}

.x-unselectable a
{
	cursor: pointer;
	cursor: hand;
}

/* main menu / tab headers should show hand cursor */
.x-tab-strip li,
.x-tab-strip li .x-tab-strip-text
{
	cursor: pointer;
}

#copyright-notice
{
	font-weight: bold;
	font-size: 9pt;
	font-family: Verdana, Tahoma, sans-serif;
	color: #39393B;
	position: absolute;
	left: 15px;
	bottom: 15px;
	z-index: 65536;
}

#contact-note
{
	font-weight: bold;
	font-size: 9pt;
	text-align: center;
	font-family: Verdana, Tahoma, sans-serif;
	color: #39393B;
	position: absolute;
	left: 0px;
	bottom: 15px;
	width: 100%;
	z-index: 0;
}

.cookies-info
{
	margin-top: 8px;
	font-size: 8pt;
	text-align: center;
}

#delivera-logo-top
{
	position: absolute;
	text-align: center;
	left: 0px;
	top: 5px;
	width: 100%;
	z-index: 0;
}

#delivera-logo-bot
{
	position: absolute;
	font-family: Verdana, Tahoma, sans-serif;
	text-align: center;
	left: 0px;
	bottom: 90px;
	width: 100%;
	z-index: 0;
}

#version-info
{
	position: absolute;
	left: 8px;
	bottom: 8px;
	z-index: 0;
	max-width: 280px;
	font-family: tahoma, arial, verdana, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.4;
	color: #fff;
	text-align: left;
}

#version-info-stack
{
	display: block;
	width: 100%;
}

#version-info .version-info-meta
{
	margin-top: 6px;
	font-size: 9px;
	color: rgba(255, 255, 255, 0.92);
	font-style: normal;
	font-weight: normal;
}

#version-info .version-info-mail
{
	color: #fff !important;
	text-decoration: underline;
}

#version-info .version-info-guide
{
	display: block;
	clear: both;
	margin: 8px 0 0 0;
	font-size: 10px;
	font-style: italic;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: underline;
	white-space: normal;
	word-wrap: break-word;
}

/* column layout styles */
.column-layout-freight-new
{
	padding: 5px !important;
}

/* page item style */
.search-highlight
{
	color: black;
	background-color: yellow;
	border: 1px solid gray;
}

.reis_info_table, .reis_info_td, .reis_info_hdr, .reis_info_hdr_short
{
	font-family: verdana, tahoma;
	font-size: 10px;
}

.reis_info_table th
{
	font-weight: bold;
	text-align: center;
}

.user_accessmask
{
	font-family: "Lucida Console", "Courier New", monospace;
}

.reis_info_hdr
{
	width: 150px;
	text-align: right;
	padding-right: 0.4em;
}

.reis_info_hdr_short
{
	width: 220px;
	text-align: right;
	padding-right: 0.4em;
}

.reis_info_table
{
	width: 100%;
	height: 100%;
}

.x-icon-subitem
{
	background-image: url("../images/expand.gif");
}

.uzrasine-hmtl-ul
{
	display: block;
	list-style-position: outside;
	list-style-type: disc;
	padding-left: 14px;
}

.uzrasine-hmtl-ol
{
	display: block;
	list-style-position: outside;
	list-style-type: decimal;
	padding-left: 18px;
}

.trip-expired-row
{
	background-color: #ffcccc;
}

/* Vairuotojų išmokėjimų XML langas: tbar eilutės etikečių vertikalus išlyginimas (Ext3) [2026-08-12] */
.driver-payment-xml-win .x-toolbar .xtb-text,
.driver-payment-xml-win .x-toolbar .x-form-check-wrap {
	line-height: 22px;
}
.driver-payment-xml-win .x-toolbar .x-form-check-wrap input {
	vertical-align: middle;
}
.driver-payment-xml-win .x-toolbar .x-form-cb-label {
	top: 0;
}

.trip-not-refreshed-row
{
	background-color: #ffffcc;
}

.fuel-card-expiry-yellow
{
	background-color: #ffffcc;
}

.fuel-card-expiry-red
{
	background-color: #ffcccc;
}

.fuel-card-row-active td
{
	background-color: #cfe2f3 !important;
}

.uzrasine-completed-row
{
	color: #aaaaaa;
	text-decoration: line-through;
}

.uzrasine-priority-5-row
{
	background-color: #ffcccc;
}

.uzrasine-priority-4-row
{
	background-color: #ffeeee;
}

.uzrasine-priority-3-row
{
	background-color: #ffffff;
}

.uzrasine-priority-2-row
{
	background-color: #eeffee;
}

.uzrasine-priority-1-row
{
	background-color: #ccffcc;
}

.task-deadline-late-row .x-grid3-cell
{
	background-color: #ffcccc !important;
}

.x-grid3-row.task-deadline-late-row,
.task-deadline-late-row .x-grid3-row-table,
.task-deadline-late-row .x-grid3-row-body,
.task-deadline-late-row .x-grid3-td,
.x-grid3-row.task-deadline-late-row .x-grid3-cell,
.x-grid3-row.task-deadline-late-row .x-grid3-cell-inner
{
	background-color: #ffcccc !important;
}

.task-deadline-soon-row .x-grid3-cell
{
	background-color: #fff5cc !important;
}

.x-grid3-row.task-deadline-soon-row,
.task-deadline-soon-row .x-grid3-row-table,
.task-deadline-soon-row .x-grid3-row-body,
.task-deadline-soon-row .x-grid3-td,
.x-grid3-row.task-deadline-soon-row .x-grid3-cell,
.x-grid3-row.task-deadline-soon-row .x-grid3-cell-inner
{
	background-color: #fff5cc !important;
}

.task-deadline-normal-row .x-grid3-cell
{
	background-color: #ffffff !important;
}

.x-grid3-row.task-deadline-normal-row,
.task-deadline-normal-row .x-grid3-row-table,
.task-deadline-normal-row .x-grid3-row-body,
.task-deadline-normal-row .x-grid3-td,
.x-grid3-row.task-deadline-normal-row .x-grid3-cell,
.x-grid3-row.task-deadline-normal-row .x-grid3-cell-inner
{
	background-color: #ffffff !important;
}

.task-desc-expander
{
	white-space: normal !important;
}

.task-desc-expander table
{
	border-collapse: collapse;
	max-width: 100%;
	border: 1px solid #c8c8c8;
}

.task-desc-expander td,
.task-desc-expander th
{
	padding: 2px 8px 2px 0;
	vertical-align: top;
	border: 1px solid #c8c8c8;
}

.tour-status-ok
{
	background-color: #ccffcc;
}

.tour-status-empty
{
	background-color: #ffee00;
}

.tour-status-unloading
{
	background-color: #2222cc;
	color: white;
}

.tour-status-unloading.x-grid3-row-selected
{
	color: black;
}

.tour-status-loading
{
	background-color: #bbbbff;
}

.tour-status-waiting
{
	background-color: #ffffaa;
}

.tour-status-problem
{
	background-color: #cc2222;
	color: white;
}

.tour-status-problem.x-grid3-row-selected
{
	color: red;
}

.tour-status-problem.x-grid3-row-over
{
	color: red;
}

.tour-status-problem a
{
	color: #ddddff;
}

.tour-status-problem.x-grid3-row-selected a
{
	color: #0000EE;
}

.tour-status-problem.x-grid3-row-over a
{
	color: #0000EE;
}

.text-right-align
{
	text-align: right !important;
	width: 200px !important;
	padding-right: 0.4em;
}

.grid-exclamation-mark
{
	background-image: url('images/exclamation.gif');
	background-position: left;
	background-repeat: no-repeat;
	
}

.text-left-align
{
	text-align: left !important;
}

.gray-text
{
	color: #909090;
	font-style: italic;
}

.gray-text div
{
	color: #909090;
	font-style: italic;
}

.column-sum
{
	vertical-align: middle !important;
}

.infolink
{
	color: white !important;
}

.admin-disabled-row
{
	color: #aaaaaa;
}

.x-icon-status-ok
{
	background-image: url("../images/accept.png");
	background-repeat: no-repeat;
	background-position: left;
}

.x-icon-status-error
{
	background-image: url("../images/exclamation.gif");
	background-repeat: no-repeat;
	background-position: left;
}

.x-status-spanner
{
	margin-left: 20px;
}

.guide
{
	font-size: 9pt;
}

.guide-link
{
	color: #a00000;
	font-size: 9pt;
}

/* Naujiena — vienas mygtukas, ExtJS3-like (be sprite lentelės — footeryje keliai sulūždavo) [2026-04-04] */
#delivera-news-btn {
    display: none;
    margin: 0 0 2px 0;
}
#delivera-news-btn .dnb-extlike-btn {
    display: inline-block;
    box-sizing: border-box;
    font: normal 11px tahoma, arial, verdana, sans-serif;
    cursor: pointer;
    margin: 0;
    padding: 3px 10px 4px 10px;
    color: #1a1a1a;
    text-align: center;
    border: 1px solid #C09038;
    background: #F5EDD4;
    background: linear-gradient(to bottom, #FAF3DC 0%, #EFD898 45%, #E8D090 100%);
    border-radius: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
#delivera-news-btn .dnb-extlike-btn:hover {
    border-color: #B88A30;
    background: linear-gradient(to bottom, #FCF6E6 0%, #F0E5C0 45%, #E5D098 100%);
}
#delivera-news-btn .dnb-extlike-btn:active {
    border-color: #A67E28;
    background: #E0C878;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
}
#delivera-news-btn .dnb-badge {
    display: inline-block;
    background: #e53030;
    color: #fff;
    font-size: 8pt;
    font-weight: bold;
    border-radius: 8px;
    padding: 0 5px;
    margin-left: 4px;
    vertical-align: middle;
    line-height: 14px;
}
#delivera-news-btn.dnb-unread .dnb-extlike-btn {
    animation: dnb-bounce 1.1s infinite;
}
@keyframes dnb-bounce {
    0%, 100% { transform: translateY(0); }
    30%       { transform: translateY(-4px); }
    60%       { transform: translateY(-2px); }
}

.sync-login-iframe
{
	border: 0;
	width: 100%;
	height: 100%;
}

.errorlist
{
	list-style-type: disc;
	padding-left: 15px;
	margin-top: 4px;
}

.mark-combo-match
{
	font-weight: bold;
	color: blue;
}

.x-form-label-top .x-form-item
{
	padding-bottom: 0px;
}

.x-form-label-top .x-hide-label .x-form-element
{
	padding-top: 0px;
}

/* wonky toolbar fields fix */
.ext-strict .ext-webkit .x-small-editor .x-form-text
{
	height: 16px !important;
}

/* alternative color theme overrides -- login 1* /
body
{
	background-color: #39393B;
}

#copyright-notice
{
	color: #ffffff;
}

#copyright-notice a
{
	color: #D09F3B;
}

#delivera-logo-bot
{
	color: #ffffff;
}

#delivera-logo-bot a
{
	color: #D09F3B;
}

#contact-note
{
	color: #ffffff;
}

#contact-note a
{
	color: #D09F3B;
}

#loading-inner
{
	background-color: #ffffff;
	border: 2px solid #D09F3B;
	padding-top: 15px;
	padding-bottom: 15px;
}

#loading-outer
{
	background-color: transparent;
}

/* alternative color theme overrides -- login 2*/

#copyright-notice
{
	color: #39393B;
}

#copyright-notice a
{
	color: #D09F3B;
}

#delivera-logo-bot
{
	color: #39393B;
}

#delivera-logo-bot a
{
	color: #D09F3B;
}

#contact-note
{
	color: #39393B;
}

#contact-note a
{
	color: #D09F3B;
}

#delivera-logo-top
{
	position: absolute;
	top: 0;
	height: 30%;
	padding-top: 10%;
}

#delivera-logo-main-image
{
	max-height:100%;
}

.is-login /* for explorer only */
{
	top: 70%;
}

.is-login[id]
{
	padding-top: 10%;
}

/* alternative theme overrides -- work area */
.guide-link
{
	color: #ff8080;
	font-size: 9pt;
}

.import-row-no-match .x-grid-cell, .import-row-no-match .x-grid-row {
    background-color: #ffcccc !important; /* light red */
}

.import-row-no-match {
    background-color: #ffcccc !important;
}

.import-row-remove-btn {
    background: none;
    border: none;
    color: red;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 6px;
}

/* Leaflet map controls fix - tvarkingam valdikliu atvaizdavimui */
#ptv-map-container .leaflet-control-zoom {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: white;
    border: 1px solid #ccc;
}

#ptv-map-container .leaflet-control-zoom a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: none;
    display: block;
    background: white;
    border-bottom: 1px solid #ccc;
}

#ptv-map-container .leaflet-control-zoom a:last-child {
    border-bottom: none;
}

#ptv-map-container .leaflet-control-zoom a:hover {
    background-color: #f4f4f4;
}

#ptv-map-container .leaflet-control-zoom-in {
    border-radius: 4px 4px 0 0;
}

#ptv-map-container .leaflet-control-zoom-out {
    border-radius: 0 0 4px 4px;
}

#ptv-map-container .leaflet-control {
    clear: both;
    margin: 10px;
}

#ptv-map-container .leaflet-control-attribution {
    background: rgba(255,255,255,0.8);
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 3px 0 0 0;
}

#ptv-map-container .leaflet-container {
    font-family: Verdana, Tahoma, sans-serif;
}

/* Servisai šoninės filtro formos — mažesni tarpai [2026-04-04] */
#servisai_tab .servisai-west-filters .x-form-item {
    margin-bottom: 0 !important;
    padding-bottom: 1px !important;
}
#servisai_tab .servisai-west-filters .x-form-label-left {
    padding-top: 2px !important;
}

/* Servisai - GroupingView header kaip paprasta eilutė [2026-03-28] */
#servisai_tab .x-grid-group-hd {
    background: #f3f3f3 !important;
    border-bottom: 1px solid #d0d0d0 !important;
    border-top: 1px solid #d0d0d0 !important;
}
#servisai_tab .x-grid-group-hd div.x-grid-group-title {
    font: bold 11px tahoma, arial, helvetica, sans-serif !important;
    color: #333 !important;
    padding: 3px 4px 3px 18px !important;
    background-position: 2px center !important;
}

/* Servisai — + / − kaip Užduotyse (RowExpander) [2026-06-01] */
#servisai_tab .servisai-main-grid .x-grid3-td-expander {
    width: 22px !important;
}
#servisai_tab .servisai-main-grid .servisai-papild-expander {
    width: 16px;
    height: 16px;
    margin: 1px auto 0 auto;
    line-height: 14px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    color: #15428b;
    cursor: pointer;
    background: #fff !important;
    border: 1px solid #8db2e3;
    border-radius: 2px;
    display: block;
}
#servisai_tab .servisai-main-grid .x-grid3-row-expander {
    background-image: url(../extjs3/resources/images/default/grid/row-expand-sprite.gif);
    background-repeat: no-repeat;
}
#servisai_tab .servisai-main-grid .x-grid3-row-collapsed .x-grid3-row-expander:not(.servisai-papild-expander) {
    background-position: 4px 2px;
}
#servisai_tab .servisai-main-grid .x-grid3-row-expanded .x-grid3-row-expander:not(.servisai-papild-expander) {
    background-position: -21px 2px;
}

/* Servisai nested grid - pilnas plotis [2026-03-28] */
.x-grid3-row-expander-wrap {
    overflow: visible !important;
}
.x-grid3-row .x-grid3-row-body {
    overflow: visible !important;
}

/* Servisai RowExpander - nested grid kaip atskira eilutė [2026-03-28] */
#servisai_tab .x-grid3-row-body {
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
}
#servisai_tab .x-grid3-row-body .x-panel {
    border-left: none !important;
    border-right: none !important;
}
#servisai_tab .x-grid3-row-body .x-grid3-header {
    background: #F5EDD4 !important;
}

/* Servisai nested grid - nuo pat kairio krašto [2026-03-28] */
#servisai_tab .x-grid3-row-body-tr td.x-grid3-body-cell {
    padding: 0 !important;
    border: 0 !important;
}
#servisai_tab .x-grid3-row .x-grid3-row-body {
    padding: 0 !important;
    margin: 0 !important;
}

/* Servisų pagr. grid tbar: mygtukai nestiebia aukščio kartu su datefield/combo eilute (Ext3) [2026-04-04] */
#servisai_tab .servisai-main-grid.x-grid-panel .x-panel-tbar .x-toolbar .x-btn table,
#servisai_tab .servisai-main-grid.x-grid-panel .x-panel-tbar .x-toolbar .x-btn tbody,
#servisai_tab .servisai-main-grid.x-grid-panel .x-panel-tbar .x-toolbar .x-btn tbody tr {
    height: auto !important;
}
#servisai_tab .servisai-main-grid.x-grid-panel .x-panel-tbar .x-toolbar .x-btn td.x-btn-mc,
#servisai_tab .servisai-main-grid.x-grid-panel .x-panel-tbar .x-toolbar .x-btn td.x-btn-ml,
#servisai_tab .servisai-papild-expand {
	padding: 2px 8px 6px 6px;
	line-height: 1.45;
}
#servisai_tab .servisai-papild-expand p {
	margin: 0 0 12px 0;
}
#servisai_tab .servisai-papild-expand .srv-papild-text-table {
    border: 1px solid #d0d0d0;
    background: #fff;
    padding: 6px 8px;
    font: 12px/1.35 Consolas, "Courier New", monospace;
}
#servisai_tab .servisai-papild-expand .srv-papild-text-head {
    font-weight: bold;
    color: #333;
    white-space: pre-wrap;
}
#servisai_tab .servisai-papild-expand .srv-papild-text-sep {
    color: #999;
    white-space: pre-wrap;
}
#servisai_tab .servisai-papild-expand .srv-papild-text-row {
    color: #222;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 2px 0;
}
#servisai_tab .servisai-papild-expand .srv-papild-action {
    margin: 2px 0 4px 0;
    font: 11px/1.25 tahoma, arial, sans-serif;
}
#servisai_tab .servisai-papild-expand .srv-papild-action a {
    color: #1f5ea8;
    text-decoration: underline;
}
#servisai_tab .servisai-main-grid.x-grid-panel .x-panel-tbar .x-toolbar .x-btn td.x-btn-mr {
    height: auto !important;
}
/* Servisai: paslepti trikampiukus Service LC ir LC ID antrastese */
#servisai_tab .x-grid3-hd .x-grid3-td-srv-col-service-lc .x-grid3-hd-btn,
#servisai_tab .x-grid3-hd .x-grid3-td-srv-col-service-lc .x-grid3-sort-icon,
#servisai_tab .x-grid3-hd .x-grid3-td-srv-col-lc-id .x-grid3-hd-btn,
#servisai_tab .x-grid3-hd .x-grid3-td-srv-col-lc-id .x-grid3-sort-icon {
    display: none !important;
}
/* Servisai: paslepti tik sort trikampiuka; header meniu mygtukas (su Filtrais) lieka matomas [2026-06-12] */
#servisai_tab .servisai-main-grid .x-grid3-hd .x-grid3-sort-icon {
    display: none !important;
}
/* Servisai: paslepti redaguotu langeliu (dirty) kampukus */
#servisai_tab .servisai-main-grid .x-grid3-dirty-cell {
    background-image: none !important;
}

/* Servisai statusas spalvos [2026-03-30] */
#servisai_tab .x-grid3-row .srv-row-red {
    background-color: #fdd !important;
}
#servisai_tab .x-grid3-row .srv-row-yellow {
    background-color: #ffd !important;
}
#servisai_tab .x-grid3-row .srv-row-active {
    color: #060;
    font-weight: bold;
}
#servisai_tab .x-grid3-row .srv-row-inactive {
    color: #666;
}

/* Servisai — technikas nepriskirtas */
#servisai_tab .x-grid3-row .srv-no-technikas {
    background-color: #fff5f5 !important;
}
#servisai_tab .x-grid3-row .srv-no-technikas .x-grid3-cell-inner {
    border-left: 3px solid #e74c3c;
    padding-left: 4px;
}

/* Servisai side panel [2026-03-30] */
.srv-veh-item {
    padding: 5px 8px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    font: 11px tahoma, arial, sans-serif;
    overflow: hidden;
}
.srv-veh-item:hover {
    background: #F0E5C0;
}
.srv-veh-item.srv-veh-selected {
    background: #EAD898;
    border-left: 3px solid #D09F3B;
    padding-left: 5px;
}
.srv-veh-item.srv-veh-no-tech {
    border-left: 3px solid #e74c3c;
    padding-left: 5px;
    background: #fff8f8;
}
.srv-veh-item.srv-veh-no-tech.srv-veh-selected {
    background: #ffe8e8;
    border-left-color: #e74c3c;
}
.srv-veh-item .srv-veh-warn-icon {
    color: #c0392b;
    font-size: 10px;
    margin-left: 4px;
    vertical-align: middle;
}
.srv-veh-item .srv-veh-nr {
    font-weight: bold;
    font-size: 11px;
}
.srv-veh-item .srv-veh-model {
    color: #666;
    font-size: 10px;
}
.srv-veh-item .srv-veh-cnt {
    float: right;
    color: #888;
    font-size: 10px;
    background: #eee;
    border-radius: 8px;
    padding: 1px 6px;
    margin-top: 1px;
}
.srv-veh-all {
    padding: 6px 8px;
    border-bottom: 2px solid #C09038;
    cursor: default;
    font: bold 11px tahoma, arial, sans-serif;
    color: #39393B;
}
.srv-svc-item {
    padding: 3px 8px 3px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font: 10px tahoma, arial, sans-serif;
    color: #444;
    overflow: hidden;
}
.srv-svc-item:hover {
    background: #F5EDD4;
}
.srv-svc-date {
    color: #666;
    margin-right: 4px;
}
.srv-svc-desc {
    color: #333;
}
.srv-svc-price {
    float: right;
    color: #090;
    font-weight: bold;
}

/* Delivera naujienų banner [2026-04-01] */
#delivera-news-banner {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    min-width: 340px;
    max-width: 620px;
    background: #39393B;
    color: #fff;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    padding: 0;
    font-family: tahoma, arial, sans-serif;
    font-size: 12px;
    transition: top 0.45s cubic-bezier(.22,.68,0,1.2);
    cursor: default;
}
#delivera-news-banner.dnb-visible {
    top: 0;
}
#delivera-news-banner .dnb-inner {
    display: flex;
    align-items: center;
    padding: 10px 14px 10px 14px;
    gap: 10px;
}
#delivera-news-banner .dnb-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}
#delivera-news-banner .dnb-text {
    flex: 1;
    line-height: 1.5;
}
#delivera-news-banner .dnb-title {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 2px;
}
#delivera-news-banner .dnb-msg {
    font-size: 11px;
    opacity: 0.92;
}
#delivera-news-banner .dnb-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
}
#delivera-news-banner .dnb-close:hover {
    opacity: 1;
}
#delivera-news-banner.dnb-info  { background: #39393B; }
#delivera-news-banner.dnb-success { background: #277a3c; }
#delivera-news-banner.dnb-warning { background: #b85c00; }
#delivera-news-banner.dnb-error   { background: #a02020; }

/* Užduočių forma — naujas / redaguoti layout [2026-06-05] */
.task-form-window .x-window-body {
    background: #f7f8fa !important;
}
.task-form-window .x-window-footer {
    background: #fff !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 8px 10px !important;
}
.task-form-window .task-form-btn-primary button {
    font-weight: bold;
}
.task-form-window .task-form-header,
.task-form-window .task-edit-header {
    background: #fff;
    border-bottom: 1px solid #d1d5db !important;
}
.task-form-new .task-form-header {
    background: #f0fdf4;
    border-bottom: 2px solid #16a34a !important;
}
.task-type-badge-wrap {
    padding-top: 4px;
}
.task-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font: bold 11px/1.2 tahoma, arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.task-type-badge.task-type-servisas {
    background: #1f5ea8;
    color: #fff;
}
.task-type-badge.task-type-kita {
    background: #6b7280;
    color: #fff;
}
.task-type-badge.task-type-new {
    background: #16a34a;
    color: #fff;
}
.task-form-window .task-form-title-field input,
.task-form-window .task-edit-title-field input {
    font-weight: bold;
    font-size: 15px;
    color: #111827;
    border: none !important;
    background: transparent !important;
    padding-left: 0 !important;
}
.task-form-window #tsn_meta_fieldset,
.task-form-window #tse_meta_fieldset,
.task-form-window #tsn_content_fieldset {
    margin-bottom: 0;
    padding: 6px 10px 8px 10px;
    border: 1px solid #d1d5db !important;
    background: #fff;
}
.task-form-window #tsn_content_fieldset {
    margin: 0;
}
.task-form-window #tsn_meta_fieldset legend,
.task-form-window #tse_meta_fieldset legend,
.task-form-window #tsn_content_fieldset legend {
    font: bold 11px tahoma, arial, sans-serif;
    color: #374151;
}
.task-form-window #tsn_meta_fieldset .x-form-item-label,
.task-form-window #tse_meta_fieldset .x-form-item-label {
    font-size: 11px;
    font-weight: bold;
    color: #6b7280;
}
.task-reply-send-file-btn button {
    min-width: 96px;
    font-weight: bold;
}
#task_legacy_upload_form .x-form-file-wrap {
    margin: 0;
}
.task-reply-history-del {
    color: #b91c1c;
    font-size: 11px;
    text-decoration: none;
    margin-left: 4px;
}
.task-reply-history-del:hover {
    text-decoration: underline;
}
.task-reply-history-empty {
    color: #9ca3af;
    font-style: italic;
    padding: 4px 2px;
}
.task-reply-history-list {
    display: block;
}
.task-reply-history-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 5px 2px;
}
.task-reply-history-item:last-child {
    border-bottom: none;
}
.task-reply-history-meta {
    color: #6b7280;
    font-size: 11px;
    margin-bottom: 2px;
}
.task-reply-history-text {
    color: #111827;
    word-break: break-word;
    white-space: normal;
}
.task-reply-history-file a {
    color: #1f5ea8;
    text-decoration: none;
}
.task-reply-history-file a:hover {
    text-decoration: underline;
}
.task-srv-desc-html {
    padding: 8px 10px;
    font: 12px/1.5 tahoma, arial, sans-serif;
    color: #111827;
    word-break: break-word;
    white-space: normal;
}
.task-srv-desc-html table {
    width: 100%;
    border-collapse: collapse;
}
.task-srv-desc-html td,
.task-srv-desc-html th {
    padding: 2px 8px 2px 0;
    vertical-align: top;
}
.task-form-window.task-edit-servisas-mode .task-edit-header {
    background: #eff6ff;
    border-bottom: 2px solid #1f5ea8 !important;
}
.task-form-window.task-edit-servisas-mode #tse_meta_fieldset {
    border-color: #93c5fd !important;
}
.task-form-window.task-edit-servisas-mode #tse_meta_fieldset legend {
    color: #1f5ea8;
}
/* Serviso plano kortelė */
.task-servisas-panel-wrap .x-panel-body {
    overflow: auto !important;
}
.task-srv-sheet {
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
}
.task-srv-sheet-title {
    background: #1f5ea8;
    color: #fff;
    font: bold 12px/30px tahoma, arial, sans-serif;
    padding: 0 12px;
}
.task-srv-grid {
    padding: 6px 8px 4px 8px;
    overflow: hidden;
}
.task-srv-grid:after {
    content: '';
    display: block;
    clear: both;
}
.task-srv-item {
    float: left;
    width: 50%;
    padding: 5px 8px;
    box-sizing: border-box;
    min-height: 44px;
}
.task-srv-lbl {
    font: bold 11px/1.3 tahoma, arial, sans-serif;
    color: #6b7280;
    margin-bottom: 3px;
}
.task-srv-val {
    font: 13px/1.45 tahoma, arial, sans-serif;
    color: #111827;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    padding: 5px 8px;
    min-height: 22px;
    word-break: break-word;
    white-space: normal;
}
.task-srv-dash {
    color: #9ca3af;
}
.task-srv-notes {
    border-top: 1px solid #e5e7eb;
    padding: 8px 10px 10px 10px;
    background: #f8fafc;
    clear: both;
}
.task-srv-note-block {
    margin-bottom: 8px;
}
.task-srv-note-block:last-child {
    margin-bottom: 0;
}
.task-srv-note-label {
    font: bold 11px/1.3 tahoma, arial, sans-serif;
    color: #4b5563;
    margin-bottom: 4px;
}
.task-srv-note-text {
    font: 13px/1.5 tahoma, arial, sans-serif;
    color: #111827;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 8px 10px;
    min-height: 32px;
    word-break: break-word;
    white-space: normal;
}
.task-srv-empty {
    color: #9ca3af;
    font-style: italic;
    padding: 20px 12px;
    text-align: center;
}
/* Periodiškumas — abiejų formų apačia */
.task-form-window #tasks_repeatable_event_settings_panel,
.task-form-window #task_edit_repeatable_event_settings_panel {
    background: #f7f8fa;
}
.task-form-window #tasks_repeatable_event_settings_fieldset,
.task-form-window #task_edit_repeatable_event_settings_fieldset {
    margin: 0;
    padding: 4px 10px 8px 10px;
    border: 1px solid #d1d5db !important;
    background: #fff;
}
.task-form-window #tasks_repeatable_event_settings_fieldset legend,
.task-form-window #task_edit_repeatable_event_settings_fieldset legend {
    font: bold 11px tahoma, arial, sans-serif;
    color: #374151;
}
.task-form-window #tsn_content_fieldset .x-html-editor-wrap,
.task-form-window #tse_panel_kita .x-html-editor-wrap {
    border: 1px solid #e5e7eb !important;
    border-radius: 3px;
}

/* AI pokalbių langas — ExtJS 3.4 */
.ai-chat-tbar-title {
    font: bold 12px tahoma, arial, sans-serif;
    color: #1a3a6c;
    padding: 0 4px;
}
.ai-chat-hint {
    color: #666 !important;
    font: 11px tahoma, arial, sans-serif !important;
}
.ai-chat-input-panel .x-form-item {
    margin-bottom: 0;
}
.ai-chat-input-panel textarea {
    resize: none;
    overflow: hidden;
    line-height: 1.45;
}
.ai-chat-history-body {
    padding: 8px;
    background: #f0f2f5;
}
.ai-chat-messages {
    padding: 20px 24px 28px;
    background: #f0f2f5;
}
.ai-chat-msg-list {
    width: 100%;
}
/* Žinučių eilutės — float išdėstymas (ExtJS 3 / senesnių naršyklių suderinamumas) */
.ai-chat-messages .ai-chat-entry {
    width: 100%;
    margin: 0 0 14px 0;
    clear: both;
    overflow: hidden;
}
.ai-chat-messages .ai-chat-row-inner {
    max-width: 78%;
}
.ai-chat-messages .ai-chat-row-user .ai-chat-row-inner {
    float: right;
    clear: both;
}
.ai-chat-messages .ai-chat-row-user .ai-chat-avatar {
    float: right;
    margin-left: 10px;
}
.ai-chat-messages .ai-chat-row-user .ai-chat-bubble-wrap {
    float: right;
    max-width: calc(100% - 44px);
    text-align: right;
}
.ai-chat-messages .ai-chat-row-assistant .ai-chat-row-inner {
    float: left;
    clear: both;
}
.ai-chat-messages .ai-chat-row-assistant .ai-chat-avatar {
    float: left;
    margin-right: 10px;
}
.ai-chat-messages .ai-chat-row-assistant .ai-chat-bubble-wrap {
    overflow: hidden;
    max-width: calc(100% - 44px);
    text-align: left;
}
.ai-chat-messages .ai-chat-row-system {
    text-align: center;
}
.ai-chat-messages .ai-chat-row-system .ai-chat-bubble-wrap {
    display: inline-block;
    max-width: 88%;
}
.ai-chat-messages .ai-chat-bubble-wrap {
    min-width: 0;
}
.ai-chat-messages .ai-chat-avatar {
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0;
    text-align: center;
    font: bold 11px tahoma, arial, sans-serif;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 50%;
    box-sizing: border-box;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.ai-chat-messages .ai-chat-avatar-user { background: #1a3a6c; border-color: #142e55; }
.ai-chat-messages .ai-chat-avatar-ai { background: #4a4a4a; border-color: #3a3a3a; font-size: 10px; letter-spacing: -0.5px; }
.ai-chat-messages .ai-chat-avatar-system { background: #8b6914; border-color: #6b5010; }
.ai-chat-info {
    max-width: 680px;
    margin: 0 auto;
    font: 11px/1.4 tahoma, arial, sans-serif;
    color: #333;
}
.ai-chat-fieldset {
    border: 1px solid #b5b8c8;
    padding: 8px 10px 10px 10px;
    margin: 0 0 8px 0;
    background: #fff;
}
.ai-chat-fieldset legend {
    font: bold 11px tahoma, arial, sans-serif;
    color: #15428b;
    padding: 0 4px;
}
.ai-chat-info-sub {
    color: #666;
    font-size: 10px;
    margin-bottom: 8px;
}
.ai-chat-info-block {
    margin: 0 0 8px 0;
    padding: 6px 8px;
    border: 1px solid #ddd;
    background: #fafafa;
}
.ai-chat-info-can {
    background: #f5fff5;
    border-color: #b5d8b5;
}
.ai-chat-info-cannot {
    background: #fffaf5;
    border-color: #e8d4b0;
}
.ai-chat-info-heading {
    font: bold 10px tahoma, arial, sans-serif;
    color: #15428b;
    margin-bottom: 4px;
}
.ai-chat-list {
    margin: 0;
    padding-left: 16px;
}
.ai-chat-list li {
    margin-bottom: 2px;
}
.ai-chat-messages .ai-chat-info {
    max-width: 520px;
    margin: 36px auto;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e4e6eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.ai-chat-welcome-greeting {
    font: bold 14px tahoma, arial, sans-serif;
    color: #1a3a6c;
    margin-bottom: 10px;
}
.ai-chat-welcome-meta td {
    padding: 0 12px 4px 0;
    font: 10px tahoma, arial, sans-serif;
    color: #333;
}
.ai-chat-examples {
    margin: 8px 0 0 0;
    padding: 6px 8px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    font: 10px tahoma, arial, sans-serif;
    color: #555;
}
.ai-chat-empty {
    color: #666;
    font: 11px tahoma, arial, sans-serif;
    padding: 8px 0 0 0;
    border-top: 1px solid #ddd;
    margin-top: 8px;
}
.ai-chat-main-tbar {
    background: #f7f8fa !important;
    border-bottom: 1px solid #dde1e6 !important;
}
.ai-chat-status {
    font: 11px tahoma, arial, sans-serif !important;
    color: #555 !important;
    padding: 3px 10px !important;
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 12px;
}
.ai-chat-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 50%;
    background: #bbb;
    vertical-align: middle;
}
.ai-chat-status-dot-on { background: #2e8b3c; }
.ai-chat-status-dot-busy { background: #d4af37; animation: ai-status-pulse 1s infinite; }
@keyframes ai-status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.ai-chat-status-online { color: #2e6b36 !important; }
.ai-chat-status-offline { color: #8b4040 !important; }
.ai-chat-status-busy { color: #8b6914 !important; font-style: italic !important; }
.ai-chat-status-ok { color: #006400 !important; }
.ai-chat-status-warn { color: #8b6914 !important; }
.ai-chat-status-error { color: #8b0000 !important; }
.ai-chat-status-loading { color: #333 !important; font-style: italic !important; }
.ai-chat-messages .ai-chat-msg-meta {
    font: 10px/1 tahoma, arial, sans-serif;
    color: #8a8f98;
    margin-bottom: 4px;
}
.ai-chat-messages .ai-chat-row-user .ai-chat-msg-meta {
    text-align: right;
}
.ai-chat-messages .ai-chat-msg {
    display: inline-block;
    max-width: 100%;
    padding: 10px 14px;
    font: 12px/1.55 tahoma, arial, sans-serif;
    text-align: left;
    border-radius: 16px;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.ai-chat-messages .ai-chat-row-user .ai-chat-msg {
    background: #1a3a6c;
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 6px rgba(26, 58, 108, 0.2);
}
.ai-chat-messages .ai-chat-row-user .ai-chat-msg a {
    color: #c5d8f0;
}
.ai-chat-messages .ai-chat-row-assistant .ai-chat-msg {
    background: #fff;
    color: #2c2c2c;
    border: 1px solid #e4e6eb;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}
.ai-chat-messages .ai-chat-row-system .ai-chat-msg {
    background: #fff9e6;
    border: 1px solid #ecd9a8;
    color: #7a5c1a;
    text-align: center;
    font-style: italic;
    border-radius: 8px;
    box-shadow: none;
}
.ai-chat-msg-typing,
.ai-chat-thinking {
    color: #888;
    font-style: italic;
}
.ai-chat-msg-role {
    font: bold 9px tahoma, arial, sans-serif;
    color: #666;
    margin-bottom: 3px;
}
.ai-chat-thoughts-wrap {
    clear: both;
    margin: 4px 0 10px 0;
    padding: 8px 12px 8px 10px;
    background: #fff;
    border: 1px solid #e4e6eb;
    border-left: 4px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    font: 11px/1.4 tahoma, arial, sans-serif;
    color: #444;
}
.ai-chat-thoughts-header {
    font: bold 10px tahoma, arial, sans-serif;
    color: #1a3a6c;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}
.ai-chat-thoughts-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: #d4af37;
    vertical-align: middle;
    animation: ai-thoughts-pulse 1.4s infinite;
}
@keyframes ai-thoughts-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.ai-chat-thoughts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ai-chat-thought-item {
    padding: 3px 0;
    border-bottom: 1px dotted #e0e3e8;
}
.ai-chat-thought-item:last-child {
    border-bottom: none;
}
.ai-chat-thought-bullet {
    color: #1a3a6c;
    font-weight: bold;
    margin-right: 4px;
}
.ai-chat-thought-detail {
    margin: 3px 0 0 14px;
    padding: 4px 6px;
    background: #f5f7fa;
    border: 1px solid #e0e3e8;
    font: 10px/1.35 consolas, monospace;
    color: #444;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 80px;
    overflow-y: auto;
}
.ai-chat-md-code {
    background: #f5f7fa;
    border: 1px solid #e0e3e8;
    padding: 6px 8px;
    margin: 4px 0;
    overflow-x: auto;
    font: 10px/1.4 consolas, monospace;
    white-space: pre;
    border-radius: 4px;
}
.ai-chat-md-inline {
    background: #f0f2f5;
    border: 1px solid #ddd;
    padding: 0 3px;
    font: 10px consolas, monospace;
    color: #8b0000;
    border-radius: 3px;
}
.ai-chat-input-bar {
    background: #fff !important;
    border-top: 1px solid #dde1e6 !important;
}
.ai-chat-input-panel textarea.x-form-textarea {
    border: 1px solid #d5d9df !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font: 12px/1.45 tahoma, arial, sans-serif !important;
    background: #f8f9fa !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ai-chat-input-panel textarea.x-form-focus {
    border-color: #1a3a6c !important;
    background: #fff !important;
    box-shadow: 0 0 0 2px rgba(26, 58, 108, 0.12) !important;
}
.ai-chat-sessions-search {
    padding: 6px 8px;
    background: #f4f5f7;
    border-bottom: 1px solid #dde1e6;
}
.ai-chat-send-btn table {
    height: 56px !important;
}
.ai-chat-send-btn .x-btn-text {
    font: bold 12px tahoma, arial, sans-serif !important;
    color: #fff !important;
    padding: 0 14px !important;
}
.ai-chat-send-btn .x-btn-tl,
.ai-chat-send-btn .x-btn-tr,
.ai-chat-send-btn .x-btn-tc,
.ai-chat-send-btn .x-btn-ml,
.ai-chat-send-btn .x-btn-mr,
.ai-chat-send-btn .x-btn-mc,
.ai-chat-send-btn .x-btn-bl,
.ai-chat-send-btn .x-btn-br,
.ai-chat-send-btn .x-btn-bc {
    background-image: none !important;
    background-color: #1a3a6c !important;
}
.ai-chat-send-btn.x-btn-over .x-btn-tl,
.ai-chat-send-btn.x-btn-over .x-btn-tr,
.ai-chat-send-btn.x-btn-over .x-btn-tc,
.ai-chat-send-btn.x-btn-over .x-btn-ml,
.ai-chat-send-btn.x-btn-over .x-btn-mr,
.ai-chat-send-btn.x-btn-over .x-btn-mc,
.ai-chat-send-btn.x-btn-over .x-btn-bl,
.ai-chat-send-btn.x-btn-over .x-btn-br,
.ai-chat-send-btn.x-btn-over .x-btn-bc {
    background-color: #224a82 !important;
}
.ai-chat-image-preview-wrap {
    overflow: hidden;
}
.ai-chat-image-preview-item {
    position: relative;
    float: left;
    width: 56px;
    height: 56px;
    margin: 0 8px 4px 0;
}
.ai-chat-image-preview-thumb {
    width: 56px;
    height: 56px;
    border: 1px solid #b5b8c8;
    background: #f0f0f0;
}
.ai-chat-preview-remove {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.ai-chat-msg-images {
    margin: 0 0 4px 0;
    overflow: hidden;
}
.ai-chat-msg-image-link {
    float: left;
    margin: 0 6px 4px 0;
    display: block;
}
.ai-chat-msg-image {
    max-width: 200px;
    max-height: 160px;
    border: 1px solid #b5b8c8;
    background: #f0f0f0;
}
.ai-chat-msg-text {
    word-wrap: break-word;
}
.ai-chat-msg-files {
    margin: 8px 0 0 0;
    padding: 6px 8px;
    border: 1px solid #c5d4e8;
    background: #f5f8fc;
}
.ai-chat-msg-files-title {
    font-weight: bold;
    color: #15428b;
    margin-bottom: 4px;
}
.ai-chat-msg-file-item {
    margin: 4px 0;
    line-height: 1.4;
}
.ai-chat-msg-file-name {
    font-weight: bold;
    color: #15428b;
    text-decoration: none;
}
.ai-chat-msg-file-name:hover {
    text-decoration: underline;
}
.ai-chat-msg-file-download {
    color: #333;
    text-decoration: none;
    margin-left: 6px;
}
.ai-chat-msg-file-download:hover {
    text-decoration: underline;
}
.ai-chat-msg-file-meta {
    color: #666;
    font-size: 10px;
}
.ai-chat-typing {
    color: #666;
    font-style: italic;
}

/* AI pokalbių sąrašas (Ext.list.ListView — Ext JS 3.4) */
.ai-chat-sessions-panel .x-panel-body {
    background: #fff;
}
.ai-chat-sessions-panel .x-toolbar {
    padding: 2px 4px;
}
.ai-chat-sessions-body .x-list-body dl {
    margin: 0;
    padding: 2px 4px 2px 6px;
    border-bottom: 1px solid #ededed;
    cursor: pointer;
    font: 11px tahoma, arial, sans-serif;
}
.ai-chat-sessions-body .x-list-body dl.x-list-over {
    background: #efefef;
}
.ai-chat-sessions-body .x-list-body dl.x-list-selected,
.ai-chat-sessions-body .x-list-body dl.ai-chat-session-selected {
    background: #dfe8f6;
    border-left: 3px solid #8db2e3;
    padding-left: 3px;
}
.ai-chat-sessions-body .x-list-body dt {
    float: none !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    white-space: normal !important;
}
.ai-chat-sessions-body .x-list-body dt em {
    font-style: normal;
    display: block;
    padding: 1px 2px !important;
    white-space: normal !important;
}
.ai-chat-lv-title {
    font-weight: bold;
    color: #15428b;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ai-chat-lv-meta {
    color: #666;
    font-size: 10px;
    line-height: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ai-chat-sessions-empty {
    padding: 16px 10px;
    color: #666;
    font: 11px/1.45 tahoma, arial, sans-serif;
    text-align: center;
}

/* ============================================================
   Testų klausimų vedlio stiliai (issue #460)
   ============================================================ */

/* vedlio antraštė */
.tests-wizard-header { background: #f4f7fb; border-bottom: 1px solid #b9c7d9; }
.tests-wizard-header .x-toolbar-text { display: block; color: #15428b; font-weight: bold; }
.tests-wizard-header .x-toolbar-text + .x-toolbar-text { margin-top: 3px; color: #666; font-weight: normal; }

/* klausimo antraštė ir meta informacija */
.tests-question-meta { color: #666; font-size: 11px; }
.tests-question-title { font-size: 13px; font-weight: bold; color: #000; margin-bottom: 8px; }
.tests-question-status {
	padding: 4px 8px;
	background: #f7f7f7;
	border: 1px solid #d0d0d0;
	color: #666;
	margin-bottom: 8px;
}

/* klausimų navigacija apačioje (ExtJS stiliaus mygtukai) */
.tests-nav-wrap { overflow: hidden; }
.tests-nav-list { white-space: nowrap; height: 30px; overflow-x: auto; overflow-y: hidden; }
.tests-nav-item {
	display: inline-block !important;
	width: 28px !important;
	height: 26px !important;
	line-height: 24px !important;
	padding: 0 !important;
	text-align: center !important;
	vertical-align: top;
	margin: 0 4px 0 0 !important;
	border: 1px solid #b9c7d9 !important;
	border-radius: 3px;
	background: #fff !important;
	color: #15428b !important;
	font-family: tahoma, arial, helvetica, sans-serif;
	font-size: 12px !important;
	font-weight: bold !important;
	text-decoration: none;
	cursor: pointer;
}
.tests-nav-item:hover { background: #dfe8f6; }
.tests-nav-over { background: #dfe8f6; }
.tests-nav-current { background: #15428b !important; border-color: #15428b !important; color: #fff !important; font-weight: bold; }
.tests-nav-answered { background: #e8f4e8 !important; border-color: #8fbf8f !important; color: #2e7d32 !important; }
.tests-nav-current.tests-nav-answered { background: #15428b !important; border-color: #15428b !important; color: #fff !important; }
.tests-nav-readonly { cursor: default; }
.tests-nav-readonly:hover { background: #fff; }

/* teisingų / klaidingų variantų pažymėjimas peržiūroje */
.tests-option-correct label { color: #2e7d32 !important; font-weight: bold; }
.tests-option-wrong label { color: #c62828 !important; }

/* testo rezultato lango pagrindinis rezultatas */
.tests-result-score { text-align: center; font-size: 30px; font-weight: bold; margin-bottom: 10px; }

/* Testų skilties moderni viršutinė juosta ir rolių perjungimo mygtukai */
.tests-role-header-wrap {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	padding: 10px 18px 8px 18px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
}

.tests-role-subtitle {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 2px;
	line-height: 14px;
}

.tests-role-title {
	font-family: Georgia, "Times New Roman", Cambria, serif;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	line-height: 24px;
	margin-bottom: 8px;
}

.tests-role-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tests-role-segment {
	display: inline-flex;
	align-items: center;
	background: #f1f3f5;
	border-radius: 8px;
	padding: 3px;
	gap: 2px;
}

.tests-role-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: transparent;
	border: none;
	outline: none;
	padding: 6px 14px;
	border-radius: 6px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #475569;
	cursor: pointer;
	transition: all 0.18s ease-in-out;
	user-select: none;
	text-decoration: none;
	line-height: 18px;
}

.tests-role-btn i {
	font-size: 13px;
	color: inherit;
}

.tests-role-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.tests-role-btn.active {
	background: #25285a;
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 1px 3px rgba(37, 40, 90, 0.25);
}

.tests-role-btn.active:hover {
	background: #1e204a;
	color: #ffffff;
}

.tests-role-refresh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #475569;
	cursor: pointer;
	transition: all 0.18s ease;
	outline: none;
}

.tests-role-refresh-btn:hover {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
}

.tests-role-refresh-btn:active i {
	transform: rotate(180deg);
}

.tests-role-refresh-btn i {
	font-size: 12px;
	transition: transform 0.3s ease;
}

/* Antriniai sub-rolių skirtukai */
.tests-subrole-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding-top: 6px;
	border-top: 1px solid #f1f5f9;
}

.tests-subrole-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 12px;
	border-radius: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 16px;
	font-weight: 500;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.15s ease;
}

.tests-subrole-pill:hover {
	background: #f1f5f9;
	color: #1e293b;
	border-color: #cbd5e1;
}

.tests-subrole-pill.active {
	background: #e0e7ff;
	color: #25285a;
	border-color: #c7d2fe;
	font-weight: 600;
}
