@charset "UTF-8";
/* Harvester app UI + dark theme (hand-maintained CSS, served as-is; accordion.css was merged in on 2026-09-23). */

#btn-prev-month, #btn-next-month {
    cursor: pointer;
    color: #777;
}

#btn-prev-month {
    margin-right: 5px;
}

#btn-open-absence-management:disabled {
    background-color: darkgrey;
    cursor: default;
}

#btn-reload-calendar{
    margin-bottom: 20px;
}

.exclude-internal-projects {
    margin-top: 25px;
}

html, body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #000;
    background: #fff;
    width: 100%;
    height: 100%;
}

html.dark, body.dark {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #fff;
    background: #303030;
    width: 100%;
    height: 100%;
}

.navigation .alert {
    color: #db3333;
}

a:hover {
    color: #F48220;
}

a {
    color: #222;
    text-decoration: none;
}

body {
    margin: 0;
    box-sizing: border-box;
}

.clear {
    clear: both;
    height: 0;
}

.stripped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
}

.centered {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.footer-box {
    display: none;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: right;
}

.footer-box ul.left {
    float: left;
}

.footer-box ul.right {
    float: right;
}

.footer-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /*background: #fff;*/
}

.footer-box ul li {
    display: inline;
}

.footer-box ul li .btn {
    border-radius: 50%;
    background: #fff;
    border: 1px solid #F48220;
    box-shadow: none;
    color: #F48220;
    width: 37px;
    height: 37px;
    font-size: 14px;
}

.footer-box ul li .btn:hover, .footer-box ul li .btn.active {
    background: #F48220;
    color: #fff;
}

.footer-box ul li .btn.red {
    color: #db3333;
    border: 1px solid #db3333;
}

.footer-box ul li .btn.red:hover, .footer-box ul li .btn.red.active {
    background: #db3333;
    color: #fff;
}

.footer-box ul li .btn.blue {
    color: #2196F3;
    border: 1px solid #2196F3;
}

.footer-box ul li .btn.blue:hover, .footer-box ul li .btn.blue.active {
    background: #2196F3;
    color: #fff;
}

.footer-box ul li .btn.gray {
    color: #bfbfbf;
    border: 1px solid #bfbfbf;
}

.footer-box ul li .btn.gray:hover, .footer-box ul li .btn.gray.active {
    background: #bfbfbf;
    color: #fff;
}



#page-Home-index .footer-box {
    display: block;
}

#page-Auth-login .watermark, #page-OAuth-authorize .watermark {
    display: block;
}

#page-Auth-login h1, #page-OAuth-authorize h1 {
    font-family: Comfortaa, "Ubuntu Mono", Serif;
    margin: 0 auto;
    padding: 0;
    font-weight: normal;
    display: block;
    float: none;
    font-size: 50px;
}

#page-Auth-login h1 .light, #page-OAuth-authorize h1 .light {
    color: #F48220;
}

#page-Auth-login h1.dark, #page-OAuth-authorize h1.dark {
    color: #777;
}

#page-Auth-login .moto, #page-OAuth-authorize .moto {
    display: block;
    font-size: 16px;
    color: #777;
    font-family: "Ubuntu Mono", monospace;
}

#page-Auth-login .navigation, #page-OAuth-authorize .navigation {
    display: none;
}

/* The login page sits inside `.bootstrap` (the purged Bootstrap subset is compiled with that
   prefix, so its `.bootstrap .btn-primary` outranks the app's `.btn-primary` above): repeat the
   app's button look with the page id. */
#page-Auth-login .btn-primary, #page-OAuth-authorize .btn-primary {
    width: 100%;
    padding: 8px;
    margin: 0;
    border: none;
    border-radius: 2px;
    color: #FFF;
    background-color: #F48220;
}

#page-Auth-login .btn-primary:hover, #page-OAuth-authorize .btn-primary:hover, #page-Auth-login .btn-primary:focus, #page-OAuth-authorize .btn-primary:focus {
    background-color: #e8720a;
    border-color: #e8720a;
    color: #FFF;
}

#page-Auth-login .box, #page-OAuth-authorize .box {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 100px;
}

#page-Auth-login .box .form-control, #page-OAuth-authorize .box .form-control {
    border-radius: 2px;
}

#page-Auth-login .box .content, #page-OAuth-authorize .box .content {
    text-align: center;
}


/* OAuth consent page (App/Controller/OAuth.php) shares the login look above; its two
   decision buttons stay inline instead of the login page's full-width sign-in button. */
#page-OAuth-authorize .box .content {
    text-align: left;
}

#page-OAuth-authorize .btn-primary,
#page-OAuth-authorize .btn-default {
    width: auto;
    min-width: 110px;
    padding: 8px 20px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

#page-OAuth-authorize .btn-default {
    border: 1px solid #ccc;
    background: transparent;
    color: #555;
}

#page-OAuth-authorize .btn-default:hover,
#page-OAuth-authorize .btn-default:focus {
    border-color: #999;
    color: #222;
}

/* the page id is on <body>, so dark-mode rules need the compound selector */
body.dark#page-OAuth-authorize .btn-default {
    border-color: #666;
    color: #ddd;
}

body.dark#page-OAuth-authorize .btn-default:hover,
body.dark#page-OAuth-authorize .btn-default:focus {
    border-color: #999;
    color: #fff;
}

body.dark#page-OAuth-authorize code {
    background: #3a3a3a;
    color: #f4a26a;
}

#page-Auth-login .dev-note, #page-OAuth-authorize .dev-note {
    margin: 12px 0 0;
    font-size: 12px;
    color: #999;
    text-align: center;
}


#page-Auth-login .content, #page-OAuth-authorize .content {
    width: 100%;
    height: 100%;
    text-align: center;
    /* Bootstrap's body line-height: the page inherited it from bootstrap.min.css until 2026-09-23 */
    line-height: 1.42857143;
}

.super-main {
    width: 100%;
    display: table;
    margin: 0 auto;
}

.super-main .log, .super-main .block-calendar {
    display: table-cell;
}

.super-main.narrow {
    width: 75%;
}

#ticket-select-popup {
    position: absolute;
    width: 500px;
    display: none;
}

#ticket-select-popup.visible {
    display: block;
}

.log {
    padding-bottom: 50px;
}

.log #btn-show-future {
    border: 1px solid #bfbfbf;
    color: #bfbfbf;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.log #btn-show-future .left {
    float: left;
}

.log #btn-show-future .right {
    float: right;
}

.log #btn-show-future:hover {
    color: #9f9f9f;
    border: 1px solid #9f9f9f;
    cursor: pointer;
}

.log .day {
    margin-top: 13px;
    width: 100%;
    display: table;
    height: 100px;
    min-height: 100px;
}

.log .day .cell {
    display: table-cell;
    height: 100%;
}

.log .day .left-cell {
    border-top: 1px solid #F48220;
}

.log .day .middle-cell {
    width: 14px;
    text-align: center;
    vertical-align: top;
}

.log .day .left-cell {
    width: auto;
    margin-right: 15px;
}

.log .day .left-cell h3 {
    font-size: 16px;
    font-weight: normal;
    top: -20px;
    margin: 0;
    padding: 0;
    position: relative;
    color: #F48220;
    text-align: left;
}

.log .day .left-cell h3 span.left {
    float: left;
}

.log .day .left-cell h3 span.right {
    float: right;
    font-size: 13px;
    font-weight: bold;
}

/* Add-entry control: circular FA plus; margin-bottom clears the row from the rule / content below */
.log .day .left-cell h3 span.right #btn-new {
    margin-left: 4px;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #999;
    color: #777;
    background-color: #fff;
    font-size: 9px;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
    -webkit-user-select: none;
}

.log .day .left-cell h3 span.right #btn-new:hover {
    color: #fff;
    background: #F48220;
    border-color: #F48220;
}

.log .day .left-cell h3 span.right #btn-new:focus {
    outline: none;
}

.log .day .left-cell h3 span.right #btn-new:focus-visible {
    outline: 2px solid #F48220;
    outline-offset: 1px;
}

body.dark .log .day .left-cell h3 span.right #btn-new {
    background-color: #3a3a3a;
    border-color: #888;
    color: #ddd;
}

body.dark .log .day .left-cell h3 span.right #btn-new:hover {
    color: #1a1a1a;
    background: #F48220;
    border-color: #F48220;
}

body.dark .log .day.weekend .left-cell h3 span.right #btn-new:hover {
    color: #fff;
    background: #94c5e7;
    border-color: #94c5e7;
}

body.dark .log .day.alert .left-cell h3 span.right #btn-new:hover {
    color: #fff;
    background: #db3333;
    border-color: #db3333;
}

.log .day .left-cell h3 span.right #btn-clear-day {
    margin-left: 4px;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #999;
    color: #777;
    background-color: #fff;
    font-size: 11px;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
    -webkit-user-select: none;
}

.log .day .left-cell h3 span.right #btn-clear-day:hover {
    color: #fff;
    background: #db3333;
    border-color: #db3333;
}

.log .day .left-cell h3 span.right #btn-clear-day:focus {
    outline: none;
}

.log .day .left-cell h3 span.right #btn-clear-day:focus-visible {
    outline: 2px solid #db3333;
    outline-offset: 1px;
}

body.dark .log .day .left-cell h3 span.right #btn-clear-day {
    background-color: #3a3a3a;
    border-color: #888;
    color: #ddd;
}

body.dark .log .day .left-cell h3 span.right #btn-clear-day:hover {
    color: #fff;
    background: #db3333;
    border-color: #db3333;
}

.log .day .right-cell {
    width: 30%;
    margin-left: 15px;
    vertical-align: top;
}

.log .day .right-cell .activities {
    padding-top: 10px;
}

.log .day .right-cell .activities .no-activities {
    padding-left: 45px;
    color: #bfbfbf;
}

.log .day .right-cell .activities img {
    max-width: 100%;
}

.log .day .right-cell .activities .activity, .log .day .right-cell .activities .calendar, .log .day .right-cell .activities .suggestion {
    margin-bottom: 10px;
    width: 100%;
}

.log .day .right-cell .activities .activity .collapsible-header, .log .day .right-cell .activities .calendar .collapsible-header, .log .day .right-cell .activities .suggestion .collapsible-header {
    display: table;
    cursor: pointer;
}

.log .day .right-cell .activities .activity .item, .log .day .right-cell .activities .calendar .item, .log .day .right-cell .activities .suggestion .item {
    padding-top: 7px;
    vertical-align: top;
    display: table-cell;
}

.log .day .right-cell .activities .activity .time, .log .day .right-cell .activities .calendar .time, .log .day .right-cell .activities .suggestion .time {
    margin-right: 10px;
    color: #777;
}

.log .day .right-cell .activities .activity .collapsible-body, .log .day .right-cell .activities .calendar .collapsible-body, .log .day .right-cell .activities .suggestion .collapsible-body {
    max-width: 380px;
    display: none;
    color: #222;
    background: #fafafa;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
    padding: 10px;
}

.log .day .right-cell .activities .activity .collapsible-body .interval, .log .day .right-cell .activities .calendar .collapsible-body .interval, .log .day .right-cell .activities .suggestion .collapsible-body .interval {
    font-weight: bold;
}

.log .day .right-cell .activities .activity .collapsible-body ul, .log .day .right-cell .activities .activity .collapsible-body li, .log .day .right-cell .activities .calendar .collapsible-body ul, .log .day .right-cell .activities .calendar .collapsible-body li, .log .day .right-cell .activities .suggestion .collapsible-body ul, .log .day .right-cell .activities .suggestion .collapsible-body li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.log .day .right-cell .activities .activity .collapsible-body li:before, .log .day .right-cell .activities .calendar .collapsible-body li:before, .log .day .right-cell .activities .suggestion .collapsible-body li:before {
    content: "▸";
    padding-right: 5px;
    padding-left: 0;
}

.log .day .right-cell .activities .activity .collapsible-body blockquote, .log .day .right-cell .activities .calendar .collapsible-body blockquote, .log .day .right-cell .activities .suggestion .collapsible-body blockquote {
    border-left: 2px solid #d28e0c;
    padding-left: 10px;
    margin: 0;
}

.log .day .right-cell .activities .activity .apply, .log .day .right-cell .activities .calendar .apply, .log .day .right-cell .activities .suggestion .apply {
    display: table-cell;
    float: left;
    box-sizing: border-box;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    /*display: inline-block;*/
    /*border:1px solid $splitter_bg;*/
    line-height: 32px;
    font-size: 20px;
    text-align: center;
    margin-right: 10px;
}

.log .day .right-cell .activities .activity .apply:hover, .log .day .right-cell .activities .calendar .apply:hover, .log .day .right-cell .activities .suggestion .apply:hover {
    background: #bfbfbf;
    color: #fff;
    cursor: pointer;
}

.log .day .right-cell .activities .calendar {
    color: #F48220;
}

.log .day .right-cell .activities .calendar .apply {
    /*border:1px solid $success;*/
}

.log .day .right-cell .activities .calendar .apply:hover {
    background: #F48220;
}

.log .day .right-cell .activities .suggestion {
    color: #94c5e7;
}

.log .day .right-cell .activities .suggestion .apply:hover {
    background: #94c5e7;
}

/* Calendar / suggestion expanded panel (agenda, attendees, project lines) */
body.dark .log .day .right-cell .activities .activity .collapsible-body,
body.dark .log .day .right-cell .activities .calendar .collapsible-body,
body.dark .log .day .right-cell .activities .suggestion .collapsible-body {
    color: #e8e8e8;
    background: #2a2a2a;
    border-top-color: #555;
    border-bottom-color: #555;
}

body.dark .log .day .right-cell .activities .activity .collapsible-body a,
body.dark .log .day .right-cell .activities .calendar .collapsible-body a,
body.dark .log .day .right-cell .activities .suggestion .collapsible-body a {
    color: #9ecbff;
}

body.dark .log .day .right-cell .activities .activity .collapsible-body a:hover,
body.dark .log .day .right-cell .activities .calendar .collapsible-body a:hover,
body.dark .log .day .right-cell .activities .suggestion .collapsible-body a:hover {
    color: #F48220;
}

body.dark .log .day .right-cell .activities .activity .collapsible-body blockquote,
body.dark .log .day .right-cell .activities .calendar .collapsible-body blockquote,
body.dark .log .day .right-cell .activities .suggestion .collapsible-body blockquote {
    border-left-color: #F48220;
}

.log .day .right-cell .activities .jira {
    color: #d28e0c;
}

.log .day .right-cell .activities .jira a {
    color: #d28e0c;
}

.log .day .right-cell .activities .jira a:hover {
    color: #F48220;
}

.log .day .right-cell .activities .jira .apply {
    /*border:1px solid $success;*/
}

.log .day .right-cell .activities .jira .apply:hover {
    background: #d28e0c;
}

.log .day .right-cell .activities .page {
    color: #94c5e7;
}

.log .day .right-cell .activities .page a {
    color: #94c5e7;
}

.log .day .right-cell .activities .page a:hover {
    color: #F48220;
}

.log .day .right-cell .activities .page .apply {
    /*border:1px solid $success;*/
}

.log .day .right-cell .activities .page .apply:hover {
    background: #94c5e7;
}

.log .day .records, .log .day .activities {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 40px;
    box-sizing: border-box;
    /*border:1px solid #ccc;*/
    list-style: none;
}

.log .day .records {
    position: relative;
    /*padding:5px;*/
    box-sizing: border-box;
}

.log .day .records .record:last-child {
    border-bottom: none;
}

/* .record.not-allocated {
    background: #F2F2F2;
    color: #000;
} */
/* .record.not-allocated.top {
    background: #F2F2F2;
    color: #000;
} */

.records > .record.not-allocated { */
    /*#fffeea;*/
    line-height: 28px;
    border-left: 4px solid #777;
    position: relative;
    /* background: #F2F2F2;
    color: #000; */
}

.record.not-allocated.dark {
    background: #262626;
    color: #fff;
}

.record.not-allocated.top.dark {
    background: #262626;
    color: #fff;
}

.log .day .records .record.not-allocated.dark{
    background: #262626;
    color: #fff;
}

.log .day .records .record.not-allocated:hover {
    /* background: #f8f8f8; */
    /*#fffeea;*/
    line-height: 28px;
    border-left: 4px solid #777;
    position: relative;
}

.log .day .records .record.lunch {
    border-left: 4px solid #94c5e7;
}

.log .day .records .record.lunch:hover {
    background: #e5f4ff;
}

.log .day .records .record:hover .hidden-actions {
    display: inline;
}

.records > .record.edit.new.dark {
    background: #262626;
    color: #fff;
}

.records > .record.edit.new {
    background: #fff;
    color: #000;
}

.log .day .records .record:hover {
    background: #F2F2F2;
}

/* Dark hover for normal log rows only — not calendar / workday info rows (they set their own hover) */
.log .day .records > .record.dark:hover:not(.calendar):not(.workday-message) {
    background: #3a3a3a;
}

.log .day .records .record.new {
    opacity: 0;
    background: #F2F2F2;
    color: #000;
}

.log .day .records > .record.new.dark {
    opacity: 0;
    background: #262626;
    color: #fff;
}

.log .day .records .record.calendar:hover {
    background: #F2F2F2;
}

.log .day .records .record {
    border-left: 4px solid #d28e0c;
    padding: 10px 5px;
    width: 100%;
    display: table;
    line-height: 28px;
    box-sizing: border-box;
    border-bottom: 1px solid #e0e0e0;
}

.log .day .records .record .time, .log .day .records .record .main {
    display: table-cell;
    width: auto;
    vertical-align: top;
}

.log .day .records .record .time {
    width: 180px;
    height: 100%;
}

.log .day .records .record .time .start, .log .day .records .record .time .finish, .log .day .records .record .time .duration {
    width: 30%;
    text-align: center;
    display: block;
    float: left;
}

.log .day .records .record .time .duration {
    width: 40%;
}

.log .day .records .record .time .duration:after {
    content: "";
    clear: both;
}

.log .day .records .record .main {
    padding-left: 5px;
}

.log .day .records .record .main p {
    padding: 0;
    margin: 0;
    line-height: 28px;
}

.log .day .records .record .main .comment {
    font-size: 13px;
    margin-top: 5px;
}

.log .day .records .record .main .comment .alert {
    color: #db3333;
}

.log .day .records .record .main .comment:before {
    content: "≫ ";
}

.log .day .records .record .main .projects {
    font-family: "Ubuntu Mono", monospace;
    color: #999999;
    margin-top: 15px;
    /*.project-id{margin-right:10px;}*/
}

.log .day .records .record .main .projects .alert {
    color: #db3333;
}

.log .day .records .record .main .projects .project-id:after {
    content: " /";
}

.log .day .records .record .main .projects .ticket-number:before {
    content: " / ";
}

.log .day .records .record.calendar {
    color: #F48220;
    background: #f4efea;
    border-left: 4px solid #F48220;
}

/* Calendar-sourced rows in dark theme: solid burnt-orange field (no transparency), muted not toy-bright */
.log .day .records .record.calendar.dark {
    color: #e8dfd4;
    background: #3a2e24;
    border-left: 4px solid #cf6b28;
}

.log .day .records .record.calendar.dark:hover {
    background: #4a3b2f;
    color: #f4eee6;
}

.log .day .records .record.workday-message {
    background: #f8f9fa;
    color: #000;
    display: block;
    border-left: 4px solid #ced4da;
    padding: 8px 10px;
}

.log .day .records .record.workday-message.dark {
    background: #2a2f34;
    color: #e8ecef;
    border-left-color: #5c6570;
}

.log .day .records .record.workday-message.dark .workday-message-icon {
    color: #9aa5b1;
}

.log .day .records .record.workday-message.dark:hover {
    background: #343b42;
    color: #f4f7f9;
}

.log .day .records .record.workday-message.dark:hover .workday-message-icon {
    color: #b8c2cc;
}

.log .day .records .record.workday-message .main {
    display: block;
    width: 100%;
    padding-left: 0;
}

.log .day .records .record.workday-message .description {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 20px;
    margin: 0;
}

.log .day .records .record.workday-message .workday-message-icon {
    color: #6c757d;
    cursor: help;
}

.log .day .records .record.workday-message .workday-message-text {
    display: inline-block;
}

.log .day .records .record.calendar .comment {
    display: none;
}

.log .day .records .record.overlap-indicator {
    border-bottom: 1px solid #db3333;
    line-height: 30px;
    color: #db3333;
    background-color: #ffcbcb;
}

.log .day .records .record.weekend {
    color: #377eb0;
}

.log .day .records .hidden-actions {
    display: none;
    float: right;
}

.log .day .records .hidden-actions .btn,
.log .day .records .hidden-actions .btn.btn-default {
    margin: 0;
    margin-right: 5px;
    border: 1px solid #9a9a9a;
    background: #f2f2f2;
    color: #222;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    min-width: 30px;
    padding: 4px 8px;
    line-height: 1.2;
}

.log .day .records .hidden-actions .btn .fa {
    color: #333;
}

.log .day .records .hidden-actions .btn:hover,
.log .day .records .hidden-actions .btn.btn-default:hover {
    border-color: #F48220;
    background: #fff;
    color: #b3520a;
}

.log .day .records .hidden-actions .btn:hover .fa {
    color: #F48220;
}

/* Dark theme: log row action buttons (record has .dark) */
.log .day .records .record.dark .hidden-actions .btn,
.log .day .records .record.dark .hidden-actions .btn.btn-default {
    border-color: #777;
    background: #3d3d3d;
    color: #f0f0f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.log .day .records .record.dark .hidden-actions .btn .fa {
    color: #e8e8e8;
}

.log .day .records .record.dark .hidden-actions .btn:hover,
.log .day .records .record.dark .hidden-actions .btn.btn-default:hover {
    border-color: #F48220;
    background: #4a4038;
    color: #fff;
}

.log .day .records .record.dark .hidden-actions .btn:hover .fa {
    color: #ffb366;
}

.log .day .records .record.selected {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    background-color: #e5e5e5;
}

.log .day .splitter-line {
    width: 1px;
    height: 100%;
    margin: 0 auto;
}

.log .day .record.edit, .log .day .record.edit:hover {
    background: #f7f7f7;
    /*background:#e5f4ff;*/
}

.log .day .record.edit.dark,
.log .day .record.edit.dark:hover,
.log .day .record.edit.new.dark {
    background: #262626;
    color: #fff;
}

.log .day .record.edit label, .log .day .record.edit:hover label {
    display: block;
}

.log .day .record.edit .time .start, .log .day .record.edit .time .finish, .log .day .record.edit:hover .time .start, .log .day .record.edit:hover .time .finish {
    float: none;
    width: 100%;
    text-align: left;
}

.log .day .record.edit .time .start label, .log .day .record.edit .time .finish label, .log .day .record.edit:hover .time .start label, .log .day .record.edit:hover .time .finish label {
    margin-left: 5px;
}

.log .day .record.edit .time .start .time-input, .log .day .record.edit .time .finish .time-input, .log .day .record.edit:hover .time .start .time-input, .log .day .record.edit:hover .time .finish .time-input {
    font-weight: normal;
    font-size: 14px;
    text-align: center;
    width: 45%;
    float: left;
    /*margin-left:4px;*/
}

.log .day .record.edit .comment label, .log .day .record.edit:hover .comment label {
    margin-top: 10px;
}

.log .day .record.edit .comment:before, .log .day .record.edit:hover .comment:before {
    display: none;
}

.log .day .record.edit .description input, .log .day .record.edit .comment input, .log .day .record.edit:hover .description input, .log .day .record.edit:hover .comment input {
    border: none;
    border-bottom: 1px solid #bfbfbf;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 23px;
    /* background: transparent; */
}

/* .dark is on li.record.edit, not on .description — style the inputs inside the edit row */
.log .day .record.edit.dark .description input {
    background: #262626;
    color: #fff;
    border: 1px solid #888;
    border-bottom: 1px solid #888;
}

.log .day .record.edit.dark .description input::placeholder {
    color: #999;
}

.log .day .record.edit.dark label {
    color: #fff;
}

 .settings-actions, .list-group .list-group-item {
    background: #fff;
    color: #000;
}

 .settings-actions.dark {
    background: #262626;
    color: #fff;
}

 .settings-actions, .list-group > * {
    background: #F2F2F2;
    color: #000;
}

body.dark #settings-menu-popover .list-group .list-group-item {
    background: #262626;
    color: #fff;
}

body.dark #settings-menu-popover .panel {
    background-color: #262626;
}

body.dark #settings-menu-popover .settings-nav {
    background: #303030;
    border-right-color: #404040;
}

body.dark #settings-menu-popover .settings-nav-item {
    color: #bbb;
}

body.dark #settings-menu-popover .settings-nav-item .fa {
    color: #999;
}

body.dark #settings-menu-popover .settings-nav-item:hover {
    background: #3a3a3a;
    color: #fff;
}

body.dark #settings-menu-popover .settings-nav-item:hover .fa {
    color: #F48220;
}

body.dark #settings-menu-popover .settings-nav-item.active {
    background: #262626;
    color: #F48220;
    border-left-color: #F48220;
}

body.dark #settings-menu-popover .settings-tab-panes {
    background: #262626;
}

body.dark #settings-menu-popover .settings-pane-body {
    color: #e0e0e0;
}

body.dark #settings-menu-popover .group-title span {
    color: #aaa;
}

body.dark #settings-menu-popover .settings-actions {
    border-top-color: #404040;
}

#settings-menu-popover .settings-actions.dark {
    width: 100%;
    background: #303030;
    padding: 12px 10px;
}

#settings-menu-popover .settings-actions {
    width: 100%;
    background: #fff;
    padding: 12px 10px;
    border-top: 1px solid #eee;
    border-radius: 0 0 8px 8px;
}

.log .day .record.edit .project-id:after, .log .day .record.edit:hover .project-id:after {
    display: none;
}

.log .day .record.edit .project-id, .log .day .record.edit:hover .project-id {
    margin-right: 10px;
}

.log .day .record.edit .project-id, .log .day .record.edit .task-id, .log .day .record.edit:hover .project-id, .log .day .record.edit:hover .task-id {
    /*max-width:200px;*/
    min-width: 150px;
    width: 36%;
    float: left;
    margin-top: 3px;
}

.log .day .record.edit .projects, .log .day .record.edit:hover .projects {
    padding-left: 3px;
    font-family: "Open Sans", sans-serif;
}

.log .day .record.edit .projects .action, .log .day .record.edit:hover .projects .action {
    background: #fff;
    color: #000;
    padding: 0px;
    width: 75px;
    height: 35px;
    /*margin-left:10px;*/
    font-size: 12px;
}

.log .day .record.edit .projects .action.dark{
    background: #303030;
    color: #fff;
}

.log .day .record.edit .projects .action .fa, .log .day .record.edit:hover .projects .action .fa {
    font-size: 18px;
}

.log .day .record.edit .projects .actions, .log .day .record.edit:hover .projects .actions {
    width: 165px;
    height: 40px;
    float: right;
}

.log .day .record.edit .projects .save .fa, .log .day .record.edit:hover .projects .save .fa {
    color: #F48220;
}

.log .day .record.edit .projects .cancel .fa, .log .day .record.edit:hover .projects .cancel .fa {
    color: #db3333;
}

.log .day .record.active:before {
    content: "〉";
    color: #000;
    font-size: 20px;
    position: absolute;
    left: -10px;
}

.log .alert .left-cell {
    border-top: 1px solid #db3333;
}

.log .alert .left-cell h3 {
    color: #db3333;
}

.log .alert .left-cell h3 span.right #btn-new:hover {
    color: #fff;
    background: #db3333;
    border-color: #db3333;
}

.log .alert .records .title .total-time {
    color: #db3333;
}

.log .weekend .left-cell {
    border-top: 1px solid #94c5e7;
}

.log .weekend .left-cell h3 {
    color: #94c5e7;
}

.log .weekend .records .title .total-time {
    color: #94c5e7;
}

.log .weekend .left-cell h3 {
    color: #94c5e7;
}

.log .weekend .left-cell h3 span.right #btn-new:hover {
    color: #fff;
    background: #94c5e7;
    border-color: #94c5e7;
}

.log .day.hidden {
    display: none;
}

.btn {
    border: none;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    background: #fff;
    padding: 5px 10px;
    margin: 2px;
}

.btn:hover {
    -webkit-box-shadow: 1px 1px 5px 0 rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 1px 1px 5px 0 rgba(50, 50, 50, 0.3);
    box-shadow: 1px 1px 5px 0 rgba(50, 50, 50, 0.3);
    cursor: pointer;
}

.btn-primary {
    color: #FFF;
    background-color: #F48220;
    border-color: #F48220;
}

.btn-primary:hover {
    background-color: #e8720a;
    border-color: #e8720a;
    border-radius: 2px;
    color: #FFF;
}

.block-calendar {
    width: 18%;
    min-width: 230px;
    padding-left: 15px;
    vertical-align: top;
}

.block-calendar .wrapper {
    position: fixed;
    padding-right: 5px;
    top: 50px;
}

.block-calendar h2 {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    padding-right: 10px;
    margin-bottom: 10px;
}

.block-calendar .calendar {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.block-calendar .calendar caption {
    text-align: right;
    padding-right: 10px;
    font-size: 16px;
    font-weight: bold;
}

.block-calendar .calendar th {
    color: #555;
    font-weight: normal;
    padding-top: 10px;
}

.block-calendar .calendar.dark th {
    color: #fff;
}

.block-calendar .calendar td {
    line-height: 24px;
    width: 14.28%;
    text-align: center;
}

.block-calendar .calendar .alert, .block-calendar .calendar .weekend, .block-calendar .calendar .ok {
    font-weight: normal;
    border-radius: 2px;
    cursor: pointer;
}

.block-calendar .calendar .alert {
    color: #222;
    background: #fff;
}

.block-calendar .calendar .ok {
    color: #fff;
    background: #F48220;
}

.block-calendar .calendar .future {
    color: #777;
    cursor: auto;
}

.block-calendar .calendar .weekend {
    color: #94c5e7;
}

.block-calendar .calendar .vacation {
    background: #43A047;
}

.block-calendar .calendar .sickLeave {
    background: #9CA3Af;
    color: #fff;
}

h1 {
    font-size: 20px;
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    background: #fff;
    /*border-bottom:1px solid $splitter_bg;*/
    z-index: 999;
}

.navigation h1 {
    font-family: Comfortaa, "Ubuntu Mono", Serif;
    margin: 0;
    padding: 0;
    font-weight: normal;
    margin-left: 10px;
    display: inline;
    float: left;
    font-size: 24px;
    transition: all 0.2s ease;
}

.navigation h1 .light {
    color: #F48220;
}

.navigation h1 .dark {
    color: #999999;
}

.navigation h1 #page-title {
    font-size: smaller;
    color: #999999;
}

.navigation h1 #page-title .fa-chevron-right {
    font-size: 14px;
    margin-right: 5px;
    color: #bfbfbf;
    line-height: 24px;
}

.navigation h1 #page-title #total-time {
    margin-left: 30px;
    font-size: 14px;
    color: #999999;
}

.navigation span #page-title-onbehalf {
    margin-left: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #F48220;
}

.navigation .actions {
    margin: 0;
    padding: 0;
    float: right;
    list-style: none;
    margin-right: 10px;
    display: flex;
    align-items: center;
    height: 35px;
}

.navigation .actions li {
    display: flex;
    align-items: center;
    padding: 0 10px;
    list-style: none;
}

li .action {
    font-size: 12px;
    color: #000;
    text-decoration: none;
}

li .action a{
    font-size: 12px;
    color: #000;
    text-decoration: none;
}

/* Timesheet uses <li><a>…</a></li>; other items wrap links in .action — match typography */
.navigation .actions li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #000;
    text-decoration: none;
}

.navigation .actions li > a .fa {
    font-size: 18px;
    line-height: 1;
}

/* `body.dark …` twins: App/Layout/main.php sets html/body.dark before the first paint, the
   `dark` classes on the chrome follow when Public/react/src/theme.ts runs. */
.navigation.dark .actions li > a,
body.dark .navigation .actions li > a {
    color: #fff;
}

.navigation.dark .actions li > a:hover,
body.dark .navigation .actions li > a:hover {
    color: #F48220;
}

.navigation .actions li > span.action,
.navigation .actions li > span.toggle-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.navigation .actions li .action > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.navigation .actions li .action .fa {
    font-size: 18px;
    line-height: 1;
}

.navigation .actions li a:hover, .navigation .actions li .action:hover {
    color: #F48220;
    cursor: pointer;
}

.navigation .actions li.active a {
    color: #F48220;
}

.navigation.dark .actions li.active > a,
.navigation.dark .actions li.active > a:hover,
body.dark .navigation .actions li.active > a,
body.dark .navigation .actions li.active > a:hover {
    color: #F48220;
}

.navigation .actions:after {
    content: "";
    clear: both;
}

.navigation.scrolled {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.navigation.scrolled h1 {
    font-size: 18px;
}

.content {
    padding: 70px 0 10px;
    box-sizing: border-box;
}

#fog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222;
    opacity: 0.5;
    z-index: 1001;
    display: none;
}

.dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 1002;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
}

.dialog.dark,
body.dark .dialog {
    background: #303030;
    color: #fff;
}

.dialog .body {
    font-size: 15px;
    box-sizing: border-box;
    padding: 30px 20px;
    min-height: 50px;
    min-width: 500px;
}

#settings-menu-popover {
    position: fixed;
    max-width: 520px;
    width: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

#settings-menu-popover .popover-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#settings-menu-popover .popover-content form {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#settings-menu-popover .settings-tabs {
    display: flex;
    flex: 1;
    min-height: 0;
    margin-bottom: 56px;
}

#settings-menu-popover .settings-nav {
    flex-shrink: 0;
    width: 120px;
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#settings-menu-popover .settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: #555;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

#settings-menu-popover .settings-nav-item .fa {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #777;
}

#settings-menu-popover .settings-nav-item:hover {
    background: #eee;
    color: #222;
}

#settings-menu-popover .settings-nav-item:hover .fa {
    color: #F48220;
}

#settings-menu-popover .settings-nav-item.active {
    background: #fff;
    color: #F48220;
    font-weight: 600;
    border-left: 3px solid #F48220;
    margin-left: -1px;
    padding-left: 13px;
}

#settings-menu-popover .settings-nav-item.active .fa {
    color: #F48220;
}

#settings-menu-popover .settings-tab-panes {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

#settings-menu-popover .settings-tab-pane {
    display: none;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#settings-menu-popover .settings-tab-pane.active {
    display: flex;
    flex: 1;
    min-height: 0;
}

#settings-menu-popover .settings-pane-body {
    padding: 14px 16px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

#settings-menu-popover .settings-automation-list.list-group {
    border: none;
}

#settings-menu-popover .group-title {
    border-bottom: 1px solid #777;
    margin-bottom: 20px;
}

#settings-menu-popover .group-title span {
    font-size: 15px;
    left: 5px;
    color: #777;
}

#settings-menu-popover .arrow {
    left: 78%;
}

#settings-menu-popover .list-group .list-group-item {
    padding: 10px 14px;
    border-left: none;
    border-right: none;
}

#settings-menu-popover .list-group .list-group-item h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
}

#settings-menu-popover .list-group .list-group-item .form-group {
    margin-bottom: 12px;
}

#settings-menu-popover .list-group .list-group-item .form-group:last-child {
    margin-bottom: 0;
}

#settings-menu-popover .list-group:first-child {
    border-top: none;
}

#settings-menu-popover .list-group:last-child {
    border-bottom: 1px solid #ddd;
}

#settings-menu-popover .popover-content {
    padding: 0;
}

#settings-menu-popover .panel {
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    background-color: #fafafa;
    border-radius: 4px;
}

#settings-menu-popover .alert {
    padding: 0;
    color: #db3333;
    margin: 0;
}

#settings-menu-popover .notice {
    padding: 0;
    color: #F48220;
    margin: 0;
    padding-bottom: 10px;
}

#settings-menu-popover .settings-actions {
    text-align: center;
    padding-bottom: 10px;
    position: absolute;
    border-radius: 4px;
    bottom: 0;
    width: 99%;
    background: #fff;
}

#settings-menu-popover .settings-actions .btn {
    width: 48%;
    padding: 10px;
}

#settings-menu-popover #accordion {
    margin-bottom: 56px;
}

#issues {
    color: #777;
}

#issues ul, #issues li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#issues ul {
    margin-bottom: 10px;
    margin-top: 20px;
}

#issues ul .date {
    padding-left: 0;
    font-weight: normal;
    color: #db3333;
    margin-bottom: 5px;
    font-family: "Open Sans", sans-serif;
}

#issues ul li {
    padding-left: 10px;
    cursor: pointer;
    font-family: "Ubuntu Mono", monospace;
    line-height: 18px;
}

#issues ul li.date:before {
    content: "";
}

#issues ul li:before {
    content: "⚬ ";
}

#issues ul .count {
    border-radius: 50%;
    background: #bfbfbf;
    color: #fff;
    padding: 1px 5px;
    padding-top: 2px;
    margin-left: 5px;
}

#issues .hidden {
    display: none;
}

.watermark {
    position: fixed;
    bottom: 20px;
    top: auto;
    display: none;
}

#projects-summary {
    color: #222;
    font-weight: normal;
    /*text-align: left;*/
}

#projects-summary .table {
    border-collapse: collapse;
    width: 100%;
}

#projects-summary .th, td {
    text-align: left;
    padding: 0px;
}

#projects-summary tr:nth-child(even) {
    background-color: #F5F5F5
}

#projects-summary .collapsible-body {
    display: none;
    padding-left: 5px;
    font-size: 90%;
    /*color: #777;*/
}

.content.dark,
body.dark .content {
  color: #fff ;
  background-color: #303030 ;
}
.navigation.dark,
body.dark .navigation {
  color: #fff;
  background-color: #303030 ;
}
#projects-summary.dark {
  color: #fff;
}
li .action.dark,
body.dark li .action {
  color: #fff;
}
li .action.dark a,
body.dark li .action a {
  color: #fff;
}

/* Absence Management Dialog Styles */

/* Also target when radio is checked directly */

/* Vacation Form Styles */

/* Sick Leave Form Styles */

/* Absence Management Sidebar Styles */
.absence-management-section {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}

.absence-management-actions {
  margin-bottom: 16px;
}

.absence-management-actions .btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
}

.absence-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.absence-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
}

.absence-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.absence-label {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.absence-value {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 500;
  color: #222;
}

.absence-value .muted {
  opacity: 0.7;
  font-size: 0.9em;
  font-weight: 400;
  margin-left: 4px;
}

/* Show parentheses only if there is a date */
#vacation-updated:empty {
  display: none;
}

#vacation-updated:not(:empty)::before {
  content: " (";
}

#vacation-updated:not(:empty)::after {
  content: ")";
}

/* Negative values highlighted */
.absence-value.is-negative {
  color: #b00020;
}

@media (max-width: 480px) {
  .absence-management-section {
    padding: 12px;
  }
  
  .absence-item {
    padding: 8px 0;
  }
}

/* --- Dark theme: footer, calendar cells, issues, pickers, absence (body.dark / html[data-theme]) --- */

html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] input[type="checkbox"],
html[data-theme="dark"] input[type="radio"],
body.dark input[type="checkbox"],
body.dark input[type="radio"] {
    accent-color: #F48220;
}

/* Browser autofill: keep field chrome aligned with dark inputs */
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus,
html[data-theme="dark"] textarea:-webkit-autofill,
html[data-theme="dark"] textarea:-webkit-autofill:hover,
html[data-theme="dark"] textarea:-webkit-autofill:focus,
html[data-theme="dark"] select:-webkit-autofill,
html[data-theme="dark"] select:-webkit-autofill:hover,
html[data-theme="dark"] select:-webkit-autofill:focus,
body.dark input:-webkit-autofill,
body.dark input:-webkit-autofill:hover,
body.dark input:-webkit-autofill:focus,
body.dark textarea:-webkit-autofill,
body.dark textarea:-webkit-autofill:hover,
body.dark textarea:-webkit-autofill:focus,
body.dark select:-webkit-autofill,
body.dark select:-webkit-autofill:hover,
body.dark select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #262626 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 99999s ease-out 0s;
}

body.dark .footer-box ul li .btn {
    background: #3a3a3a;
    border-color: #F48220;
    color: #F48220;
}

body.dark .footer-box ul li .btn:hover,
body.dark .footer-box ul li .btn.active {
    background: #F48220;
    color: #303030;
}

.block-calendar .calendar.dark .alert {
    color: #e8e8e8;
    background: #3d3d3d;
    border: 1px solid #555;
}

.block-calendar .calendar.dark .future {
    color: #9e9e9e;
}

.block-calendar .calendar.dark caption {
    color: #eee;
}

body.dark #issues {
    color: #bdbdbd;
}

body.dark #issues ul .date {
    color: #ff8a80;
}

body.dark #issues ul li {
    color: #eee;
}

body.dark #issues ul .count {
    background: #555;
    color: #fff;
}

body.dark #projects-summary tr:nth-child(even) {
    background-color: #3a3a3a;
}

html[data-theme="dark"] .daterangepicker {
    background-color: #303030;
    color: #fff;
    border-color: #555;
}

html[data-theme="dark"] .daterangepicker td.off {
    background-color: #2a2a2a;
    color: #777;
}

html[data-theme="dark"] .daterangepicker td.active,
html[data-theme="dark"] .daterangepicker td.active:hover {
    background-color: #F48220;
    color: #000;
}

/* Optgroup titles (Recent, 6-Systems, …): default theme uses white bar + dark text */

body.dark .absence-management-section {
    background-color: #2d2d2d;
    border-color: #555;
}

body.dark .absence-label {
    color: #ddd;
}

body.dark .absence-value {
    color: #fff;
}

body.dark .absence-item {
    border-bottom-color: #555;
}

body.dark .block-calendar h2 {
    color: #fff;
}

/* Settings popover: profile / day fields (form-control + plain selects) */
body.dark #settings-menu-popover .form-control {
    background-color: #262626;
    color: #fff;
    border-color: #666;
}

body.dark #settings-menu-popover .form-control:focus {
    border-color: #F48220;
    box-shadow: 0 0 0 1px rgba(244, 130, 32, 0.35);
}

body.dark #settings-menu-popover .form-control:-webkit-autofill,
body.dark #settings-menu-popover .form-control:-webkit-autofill:hover,
body.dark #settings-menu-popover .form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #262626 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 99999s ease-out 0s;
}

body.dark #settings-menu-popover .form-control::placeholder {
    color: #888;
}

body.dark #settings-menu-popover select.form-control {
    background-color: #262626;
    color: #fff;
    border-color: #666;
}

body.dark #settings-menu-popover .form-group label {
    color: #ddd;
}

/* Profile tab — linked accounts list */
#settings-menu-popover .settings-profile-logins {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}

#settings-menu-popover .settings-profile-login-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

#settings-menu-popover .settings-profile-login-row:last-child {
    border-bottom: none;
}

#settings-menu-popover .settings-profile-login-state {
    flex: 0 0 24px;
    text-align: center;
    color: #6dba4b;
}

#settings-menu-popover .settings-profile-login-row .fa-check {
    color: #6dba4b;
}

#settings-menu-popover .settings-profile-login-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    color: #222;
}

#settings-menu-popover .settings-profile-login-company {
    color: #777;
    margin-left: 6px;
    font-size: 12px;
}

body.dark #settings-menu-popover .settings-profile-logins {
    background: #2a2a2a;
    border-color: #444;
}

body.dark #settings-menu-popover .settings-profile-login-row {
    border-bottom-color: #3a3a3a;
}

body.dark #settings-menu-popover .settings-profile-login-text {
    color: #e8e8e8;
}

body.dark #settings-menu-popover .settings-profile-login-company {
    color: #9a9a9a;
}

/* Credentials tab — JIRA connections */
#settings-menu-popover .settings-credentials-pane {
    padding-top: 12px;
}

#settings-menu-popover .credentials-jira-intro {
    margin: 0 0 18px;
    padding-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

#settings-menu-popover .credentials-jira-heading {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

#settings-menu-popover .credentials-jira-heading .fa {
    color: #F48220;
}

#settings-menu-popover .credentials-jira-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#settings-menu-popover .credentials-jira-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f5f6f8;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    border-left: 4px solid #b0b8c1;
}

#settings-menu-popover .credentials-jira-item--connected {
    border-left-color: #43a047;
    background: #f3faf3;
}

#settings-menu-popover .credentials-jira-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

#settings-menu-popover .credentials-jira-status {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d0d5db;
}

#settings-menu-popover .credentials-jira-item--connected .credentials-jira-status {
    background: #e8f5e9;
    border-color: #81c784;
}

#settings-menu-popover .credentials-jira-status-icon {
    color: #2e7d32;
    font-size: 16px;
}

#settings-menu-popover .credentials-jira-status-icon--off {
    color: #9e9e9e;
    font-size: 15px;
}

#settings-menu-popover .credentials-jira-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

#settings-menu-popover .credentials-jira-url {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-all;
    line-height: 1.35;
}

#settings-menu-popover .credentials-jira-login {
    font-size: 12px;
    color: #5c6370;
    font-family: "Ubuntu Mono", monospace;
}

#settings-menu-popover .credentials-jira-actions {
    flex: 0 0 auto;
}

/* JIRA Connect / Disconnect */
#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-add,
#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove {
    border: 1px solid #8a9199;
    background: linear-gradient(to bottom, #fff, #f0f2f4);
    color: #222;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-add .fa,
#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove .fa {
    margin-right: 6px;
}

#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-add:hover,
#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove:hover {
    border-color: #F48220;
    background: #fff;
    color: #b3520a;
}

#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove .fa {
    color: #c62828;
}

#settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove:hover .fa {
    color: #b71c1c;
}

body.dark #settings-menu-popover .credentials-jira-intro {
    color: #a8a8a8;
}

body.dark #settings-menu-popover .credentials-jira-heading {
    color: #e4e4e4;
}

body.dark #settings-menu-popover .credentials-jira-item {
    background: #2f3236;
    border-color: #4a5058;
    border-left-color: #6d7580;
}

body.dark #settings-menu-popover .credentials-jira-item--connected {
    background: #2a332b;
    border-left-color: #5cb85c;
}

body.dark #settings-menu-popover .credentials-jira-status {
    background: #3a3f45;
    border-color: #555c65;
}

body.dark #settings-menu-popover .credentials-jira-item--connected .credentials-jira-status {
    background: #1b3d1f;
    border-color: #4caf50;
}

body.dark #settings-menu-popover .credentials-jira-status-icon {
    color: #81c784;
}

body.dark #settings-menu-popover .credentials-jira-url {
    color: #ececec;
}

body.dark #settings-menu-popover .credentials-jira-login {
    color: #aeb4bd;
}

body.dark #settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-add,
body.dark #settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove {
    border-color: #666;
    background: #3d4248;
    color: #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.dark #settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-add:hover,
body.dark #settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove:hover {
    border-color: #F48220;
    background: #4a4038;
    color: #fff;
}

body.dark #settings-menu-popover .credentials-jira-list .credentials-jira-btn.btn-jira-remove .fa {
    color: #ef9a9a;
}

/* Settings popover: Bootstrap popover chrome + bootstrap-toggle (Day / Automation rows) */
body.dark .bootstrap #settings-menu-popover.popover {
    background-color: #303030;
    border-color: #404040;
    -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

body.dark .bootstrap #settings-menu-popover.popover.bottom > .arrow {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.dark .bootstrap #settings-menu-popover.popover.bottom > .arrow:after {
    border-bottom-color: #303030;
}

body.dark .bootstrap #settings-menu-popover .toggle.btn {
    background-color: #3a3a3a;
    border-color: #555;
}

/* --- former accordion.css (activities column) --- */
.accordion-container .time {
    color: gray;
    font-size: 12px;
}

.accordion-container .group{
    margin-bottom: 7px;
    cursor: pointer;
}

.visible {display:block !important;}
.hidden {display:none}
