#report-panel-side {
    margin-top: .5rem;
}

.glyphicon-spin {
    animation: spin 2s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.glyphicon-red {
    color: var(--reports-status-red);
    border-color: var(--reports-status-red);
}

.glyphicon-green {
    color: var(--reports-status-green);
    border-color: var(--reports-status-green);
}

.glyphicon-gray {
    color: var(--reports-status-gray);
    border-color: var(--reports-status-gray);;
}

.glyphicon-yellow {
    color: var(--reports-status-yellow);
    border-color: var(--reports-status-yellow);
}

.glyphicon-blue {
    color: var(--reports-status-blue);
    border-color: var(--reports-status-blue);
}

.glyphicon-black {
    color: var(--reports-status-black);
    border-color: var(--reports-status-black);
}

.list-item-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.list-item-content-wrapper {
    display: flex;
    flex: 1;
    align-items: center;
    flex-wrap: wrap;
}

.report-icon {
    margin-right: 0.9rem;
    font-size: 1.5rem;
    line-height: 0;
    margin-bottom: auto;
    margin-top: auto;
}

.report-heading a {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    float: left;
}

.report-heading a:hover {
    color: var(--svantek-accent-blue);
}

.report-description {
    width: 6.8rem;
}

.report-subheading {
    font-size: 0.7rem;
    color: var(--text-white-on-black);
    width: 100%;
    display: inline-block;
    float: left;
}

.list-item-content-right {
    margin-left: auto;
}

.loading-bar-item {
    justify-content: center;
    line-height: 0;
    margin: 0.5rem;
}

.loading-bar-mr {
    margin-right: .3rem;
}

.no-border {
    border: 0;
}

#report-panel-side div.panel {
    background-color: var(--panel-header-bg-color);
}

#report-panel-side div.panel-default {
    background-color: var(--main-bg-color-default);
    border-color: var(--main-popup-group-box-border);
    margin-bottom: 0;
    border-radius: 1rem;
    overflow: hidden;
}

#report-panel-side li.list-group-item {
    background-color: var(--main-bg-color-default);
    border-top: 1px solid var(--grid-item-border-color);
}

#report-panel-side li.list-group-item:first-child {
    border-top: none;
}

#report-panel-side .panel-default > .panel-heading {
    background-color: var(--topnav-box-bg);
    border-bottom: 0;
}

.btn-rlist {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: transparent;
    height: 2rem;
    min-width: 2rem;
    color: var(--filled-button-color);
}

.btn-rlist svg {
    width: 1.2rem;
    fill: var(--filled-button-color);
}

.btn-rlist.btn-retry svg {
    width: 1.4rem;
}

.btn-rlist .glyphicon {
    font-size: 1.1rem;
}

.list-buttons :not(:last-child) {
    margin-right: 0.8rem;
}

.btn-rlist-outline-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-rlist-outline-danger svg {
    fill: #fff;
}

.btn-rlist-outline-danger:hover {
    color: #fff;
    background-color: #941816;
    border-color: #941816;
    fill: #fff;
}

.btn-rlist-outline-danger[disabled]:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-rlist-outline-danger:focus {
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .5);
}

.btn-rlist-outline-primary {
    color: #fff;
    background-color: var(--svantek-accent-blue);
    border-color: var(--svantek-accent-blue);
    color: var(--filled-button-color);
}

.btn-rlist-outline-primary:hover {
    filter: brightness(0.85);
}

.btn-rlist-outline-primary:focus {
    box-shadow: 0 0 0 .25rem rgba(50, 121, 181, 0.5);
}

.btn-rlist-outline-primary[disabled]:hover {
    color: #fff;
    background-color: var(--svantek-accent-blue);
    border-color: var(--svantek-accent-blue);
}

.btn-invisible {
    border: 0;
    background: none;
    line-height: 0;
}

.btn-invisible:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.progress-report {
    height: 0.3rem;
    margin-bottom: 0;
    margin-top: 5px;
}

.svg-spinner {
    stroke: var(--export-buttons-svg-text-fill);
    stroke-linecap: round;
    stroke-dasharray: 75%, 25%;
    stroke-dashoffset: 0;
    stroke-width: 25px;
    animation: spin .75s linear infinite;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .75s linear infinite;
}

.list-group-item {
    animation: fadeIn 400ms ease-in-out;
}

.panel-heading-report {
    padding: 0.4rem;
}

div.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

div.status-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.4rem;
}
div.status-icon .glyphicon,
div.status-info-icon .glyphicon {
    top:.125rem;
}
div.reporting-table-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
}

/** Datatables **/
#report-panel-full tbody tr.btn-svn-list-selected,
#report-panel-full tbody tr:hover {
    /* background-color: var(--storage-data-hover-background) !important; */
}

div.dt-container .dt-length select {
    background: #fff;
    color: #333;
    margin-right: 0.5rem;
}

div.dt-container .dt-search input {
    background: #fff;
    color: #333;
    margin-left: 0.5rem;
}

#report-panel-full {
    /* border: 1px solid var(--main-popup-group-box-border);
    background-color: var(--main-popup-group-box-bg);
    border-radius: 1rem; */
    border-collapse: separate;
    overflow: hidden;
}

#report-panel-full td {
    /* color: var(--user-table-td-color); */
}

#report-panel-full tbody tr {
    background: transparent;
}

#report-panel-full tbody tr td {
    /* background: transparent !important; */
}

#report-panel-full tbody tr:hover {
    /* background: #374B5E; */
}

#report-panel-full tbody tr {
    /* border-radius: 0.5rem; */
}

#report-panel-full td,
#report-panel-full th {
    border: none;
}

#report-panel-full tbody tr:nth-child(2n + 2) {
    /* background: var(--row-2n1) !important; */
}

#report-panel-full tbody tr:nth-child(2n + 1) {
    /* background: var(--row-2n2) !important; */
}

#report-panel-full tbody tr td.dataTables_empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.status-wrapper {
    display: inline-block;
}

table#report-panel-full.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
table#report-panel-full.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    left: 0.5rem;
    /* position: absolute; */
    margin-top: 0.3rem;
    border-left: 10px solid var(--datatables-responsive-marker-color);
}

table#report-panel-full.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control::before,
table#report-panel-full.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > th.dtr-control::before {
    border-top: 10px solid var(--datatables-responsive-marker-color);
    border-left: 5px solid transparent;
}

h3.reporting-table-title {
    margin-bottom: 0.75rem;
}

.dt-action-buttons {
    /* display: flex;
    align-items: flex-end;
    justify-content: flex-end; */
    white-space: nowrap;
}

.dt-action-buttons-wrapper {
    display: inline-flex;
}

.dt-action-buttons button {
    /* display: inline-block; */
    margin-right: .5rem;
}

.dt-action-buttons button:last-child {
    margin-right: 0;
}

.dt-action-buttons .dtr-title {
    display: none !important;
}

@media (max-width: 767px) {
    #report-panel-full-date-from {
        float: left;
        margin-bottom: 15px;
    }

    #report-panel-full-date-to {
        float: right;
    }
}

.report-more-menu {
    margin-left: auto;
    text-align: right;
}

.popover-reports {
    /* position: absolute;
    left: 4.5rem;
    width: fit-content;
    height: fit-content;
    z-index: 100;
    top: 0.25rem;
    padding: 0.5rem;
    border: 1px solid var(--main-popup-group-box-border);
    background-color: var(--main-popup-group-box-bg);
    border-radius: 14px; */
    /* background-color: var(--main-popup-group-box-bg); */
    background-color: transparent;
    width: 100%;
    /* display: none; */
    overflow: hidden;
    transition: height 0.3s ease;
    height: 0;
}
.popover-reports .filled-button{
    width: 100%;
    justify-content: left;
}
.popover-reports ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.2rem;
}

.popover-reports ul li {
    display: block;
    margin-top: 0.5rem;
    float: left;
    width: 100%;
}

.popover-reports ul li:last-child {
    margin-right: 0;
}

.btn-more {
    background: none;
    border: none;
    padding: 0;
}

.btn-more {
    background: none;
    border: none;
    padding: 0;
}

.side-panel-loader {
    padding: 1rem 0;
}

#report-panel-side .btn-more.icon-button {
    margin-right: 0;
    width: 2.5rem;
    height: 2.5rem;
}
#report-panel-side .btn-more.icon-button span{
    font-size: 1.5rem;
}

.project-reporting{
    padding: 0;
    margin: 0;
}

/* Event Reports */
.event-report-card {
    display: grid;
    align-items: start;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--main-popup-group-box-bg);
    border: 1px solid var(--main-popup-group-box-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

.event-report-card .header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.event-report-card .header strong {
    font-size: 1.2em;
    font-weight: bold;
}

.event-reports-list {
    margin: 2rem auto;
    padding: 0 1rem;
}

.event-point {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

.email-recipients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.email-recipient-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--main-popup-group-box-border);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.email-recipient-item:hover {
    filter: brightness(1.07);
}

.actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

.email-recipient-item .small {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}

.email-recipient-item .small span {
    font-size: 1.5rem;
}

.selected-recipients {
    display: flex;
    gap: 0.5rem;
}

.icon-button.green {
    color: var(--general-status-good);
}

.icon-button.green:hover {
    background-color: var(--general-status-good);
}

@media (max-width: 768px) {
    .event-report-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .event-reports-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .event-element {
        margin-bottom: 0;
    }
}