﻿.menu.menu-sub.menu-sub-dropdown.menu-column.show {
    z-index: 10000 !important;
}

.menu-item button {
    background-color: transparent;
    border-color: transparent;
    width: 100%;
    font-weight: 500;
}

.form-check:not(.form-switch) .form-check-input[type=checkbox] {
    border: 2px solid rgba(0,0,0,.05);
}

.header .header-menu .menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here),
.header .header-menu .menu > .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) 
[fill]:not(.permanent):not(g) {
    transition: fill .3s ease;
    fill: #009ef7
}

.header .header-menu .menu > .menu-item.show > .menu-link > span.svg-icon svg [fill]:not(.permanent):not(g) {
    transition: fill .3s ease;
    fill: #009ef7
}

.select2-container--bootstrap5 .select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

    .select2-container--bootstrap5 .select2-selection--multiple .select2-search.select2-search--inline .select2-search__field {
        font-weight: 500;
        font-family: Poppins,Helvetica,sans-serif;
        -webkit-font-smoothing: antialiased;
    }

/* Planeamento */
.planning-calendar {
    min-width: 980px;
}

.planning-calendar__weekdays,
.planning-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.planning-calendar__weekdays {
    color: #7e8299;
    font-size: .85rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

    .planning-calendar__weekdays > div {
        padding: .75rem;
        border-bottom: 1px solid #eff2f5;
    }

.planning-calendar__grid {
    border-left: 1px solid #eff2f5;
}

.planning-calendar__day {
    min-height: 145px;
    padding: .65rem;
    background: #fff;
    border-right: 1px solid #eff2f5;
    border-bottom: 1px solid #eff2f5;
}

.planning-calendar__day--outside {
    background: #fafafa;
    color: #b5b5c3;
}

.planning-calendar__day--today {
    box-shadow: inset 0 0 0 2px #009ef7;
}

.planning-calendar__date {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-weight: 700;
}

    .planning-calendar__date:hover {
        background: #eef6ff;
        color: #009ef7;
    }

.planning-calendar__events {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: .4rem;
}

.planning-event {
    display: block;
    width: 100%;
    padding: .35rem .5rem;
    overflow: hidden;
    border: 0;
    border-left: 3px solid #7e8299;
    border-radius: .3rem;
    background: #f5f8fa;
    color: #3f4254;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .planning-event:hover {
        filter: brightness(.97);
        color: #181c32;
    }

.planning-event--general {
    border-left-color: #7e8299;
    background: #f5f8fa;
}

.planning-event--editorial {
    border-left-color: #7239ea;
    background: #f4efff;
}

.planning-event--feeds {
    border-left-color: #50cd89;
    background: #e8fff3;
}

.planning-event--egoi {
    border-left-color: #f1416c;
    background: #fff5f8;
}

.planning-event--linkedin {
    border-left-color: #0077b5;
    background: #eef8fd;
}

.planning-event--facebook {
    border-left-color: #1877f2;
    background: #eef5ff;
}

.planning-event--overdue {
    border-left-color: #f1416c;
    background: #fff0f3;
}

.planning-calendar__more {
    color: #7e8299;
    font-size: .75rem;
    font-weight: 600;
}

.planning-status {
    display: inline-flex;
    padding: .35rem .65rem;
    border-radius: .35rem;
    background: #f5f8fa;
    color: #5e6278;
    font-size: .85rem;
    font-weight: 700;
}

.planning-status--overdue {
    background: #fff0f3;
    color: #f1416c;
}

.planning-text-clamp {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.planning-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

@media (max-width: 1199.98px) {
    .planning-calendar {
        overflow-x: auto;
    }
}
/* Centro Editorial */
.editorial-status {
    display: inline-flex;
    align-items: center;
    padding: .4rem .7rem;
    border-radius: .4rem;
    background: #f5f8fa;
    color: #5e6278;
    font-size: .85rem;
    font-weight: 700;
}

.editorial-status--received {
    background: #f5f8fa;
    color: #5e6278;
}

.editorial-status--draft {
    background: #eef6ff;
    color: #009ef7;
}

.editorial-status--pending_review {
    background: #fff8dd;
    color: #f1bc00;
}

.editorial-status--changes_requested {
    background: #fff5f8;
    color: #f1416c;
}

.editorial-status--approved {
    background: #e8fff3;
    color: #50cd89;
}

.editorial-status--published {
    background: #e8fff3;
    color: #198754;
}

.editorial-status--archived {
    background: #eff2f5;
    color: #7e8299;
}

.editorial-source-text {
    min-height: 420px;
    resize: vertical;
}

.editorial-quill {
    min-height: 520px;
    background: #fff;
}

    .editorial-quill .ql-editor {
        min-height: 520px;
        color: #181c32;
        font-size: 1rem;
        line-height: 1.75;
    }

.editorial-version-pane {
    height: 100%;
    min-height: 340px;
    padding: 1.5rem;
    border: 1px solid #eff2f5;
    border-radius: .6rem;
    background: #fafafa;
    line-height: 1.7;
}

.editorial-compare > div:first-child .editorial-version-pane {
    border-top: 3px solid #7e8299;
}

.editorial-compare > div:last-child .editorial-version-pane {
    border-top: 3px solid #009ef7;
}

.editorial-timeline__item {
    position: relative;
    padding: 0 0 1.25rem 1.5rem;
    border-left: 2px solid #eff2f5;
}

    .editorial-timeline__item::before {
        position: absolute;
        top: .15rem;
        left: -.42rem;
        width: .7rem;
        height: .7rem;
        border: 2px solid #fff;
        border-radius: 50%;
        background: #009ef7;
        content: "";
    }

    .editorial-timeline__item:last-child {
        padding-bottom: 0;
    }

.editorial-working {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 28, 50, .45);
}

    .editorial-working[hidden] {
        display: none;
    }

.editorial-working__box {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: .7rem;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .2);
}

@media (max-width: 991.98px) {
    .editorial-quill,
    .editorial-quill .ql-editor {
        min-height: 380px;
    }
}

/* Planeamento — alertas de prazo
   Adicionar no fim de wwwroot/css/custom.css. */

.planning-event--alert-soon {
    border-left-color: #ffc700;
    background: #fff8dd;
}

.planning-event--alert-today {
    border-left-color: #f1a141;
    background: #fff4de;
    box-shadow: inset 0 0 0 1px rgba(241, 161, 65, .22);
}

.planning-event__alert {
    margin-right: .25rem;
    font-size: .72rem;
}

.planning-alert-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .65rem;
    border-radius: .35rem;
    font-size: .85rem;
    font-weight: 700;
}

.planning-alert-badge--soon {
    background: #fff8dd;
    color: #b58105;
}

.planning-alert-badge--today {
    background: #fff4de;
    color: #b76e00;
}

.planning-alert-badge--overdue {
    background: #fff0f3;
    color: #f1416c;
}

#planningAlertDays[readonly] {
    opacity: .65;
}
