.appeal-tracking-page {
    margin: 0 auto;
    max-width: 1080px;
    padding-bottom: 32px;
    width: 100%;
}

.appeal-tracking-page-header {
    margin: 0 0 14px;
}

.appeal-tracking-page-header h2 {
    color: #242424;
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
}

.appeal-tracking-search-panel {
    border: 1px solid #d7dfd8;
    border-top: 3px solid #08742b;
    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
    width: 100%;
}

.appeal-tracking-search-panel-body {
    background: #ffffff;
    padding: 18px 20px 14px;
}

.appeal-tracking-search-row {
    align-items: flex-end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 180px;
}

.appeal-tracking-search-field {
    min-width: 0;
}

.appeal-tracking-search-field label {
    color: #333333;
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.appeal-tracking-search-field .form-control {
    height: 44px;
}

.appeal-tracking-search-hint {
    color: #717973;
    font-size: 13px;
    margin: 7px 0 0;
}

.appeal-tracking-search-button {
    height: 44px;
    width: 100%;
}

.public-tracking-menu-icon {
    display: inline-block;
    flex: 0 0 20px;
    font-size: 18px;
    height: 20px;
    position: relative;
    width: 20px;
}

.public-tracking-menu-icon .fa-file-text-o {
    left: 0;
    position: absolute;
    top: 0;
}

.public-tracking-menu-icon .fa-search {
    bottom: 0;
    font-size: 9px;
    position: absolute;
    right: 0;
}

@media (min-width: 768px) {
    .public-main-menu {
        display: flex !important;
        float: none !important;
    }

    .public-main-menu > li {
        display: flex;
        float: none;
        flex: 1 1 0;
        min-width: 0;
    }

    .public-main-menu > .public-menu-organizations {
        flex-grow: 0.85;
    }

    .public-main-menu > .public-menu-pension-search {
        flex-grow: 1.05;
    }

    .public-main-menu > .public-menu-incapacity,
    .public-main-menu > .public-menu-charity {
        flex-grow: 0.95;
    }

    .public-main-menu > .public-menu-video-identification {
        flex-grow: 1.2;
    }

    .public-main-menu > .public-menu-court-report {
        flex-grow: 1.35;
    }

    .public-main-menu > .public-menu-quality {
        flex-grow: 0.9;
    }

    .navbar-pfu-menu .public-main-menu > li > .navbar-menu-main-item {
        align-items: center;
        box-sizing: border-box;
        display: flex;
        font-size: 12.5px !important;
        gap: 8px;
        height: 80px !important;
        justify-content: center;
        letter-spacing: 0;
        line-height: 16px !important;
        min-height: 80px;
        padding: 6px 9px !important;
        text-align: left;
        white-space: normal;
        width: 100%;
    }

    .public-main-menu > li > .navbar-menu-main-item > .fa,
    .public-main-menu > li > .navbar-menu-main-item > svg {
        flex: 0 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .navbar-pfu-menu .public-main-menu > li > .navbar-menu-main-item {
        font-size: 11.5px !important;
        gap: 5px;
        line-height: 15px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}
.appeal-tracking-panel {
    background: transparent;
    border: 0;
    padding: 0;
}

.appeal-tracking-appeal-block {
    border-top: 2px solid #08742b;
    margin-top: 24px;
    padding: 8px 20px 24px;
}

.appeal-tracking-appeal-block > h3 {
    margin: 16px 0;
}

.appeal-tracking-loading {
    align-items: center;
    background: #f7faf8;
    border: 1px solid #d8e0da;
    border-radius: 4px;
    color: #4f5b53;
    display: flex;
    font-size: 14px;
    gap: 12px;
    justify-content: center;
    min-height: 112px;
    padding: 20px;
}

.appeal-tracking-loading .fa {
    color: #08742b;
    flex: 0 0 24px;
    font-size: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    width: 24px;
}

@media (prefers-reduced-motion: reduce) {
    .appeal-tracking-loading .fa-spin {
        animation: none;
    }
}

.appeal-tracking-alert {
    align-items: center;
    background: #f4f4f4;
    border-left: 4px solid #4d4d4d;
    display: flex;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
}

.appeal-tracking-alert-error {
    border-left-color: #b3261e;
    color: #7b1711;
}

.appeal-tracking-alert-info {
    border-left-color: #08742b;
    color: #333333;
    margin-top: 16px;
}

.appeal-tracking-empty {
    background: #edf7f0;
    border: 1px solid #91c39e;
    border-left: 6px solid #08742b;
    box-shadow: 0 2px 8px rgba(8, 116, 43, 0.12);
    color: #1f2d23;
    gap: 14px;
    margin-top: 0;
    min-height: 64px;
    padding: 14px 18px;
}

.appeal-tracking-alert-icon {
    color: #08742b;
    flex: 0 0 auto;
    font-size: 24px;
}

.appeal-tracking-alert-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.appeal-tracking-alert-content strong {
    color: #075d23;
    font-size: 15px;
}

.appeal-tracking-retry {
    margin-left: auto;
}

.appeal-tracking-overview {
    background: #ffffff;
    border: 1px solid #d8e0da;
    border-top: 3px solid #08742b;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px 22px;
}

.appeal-tracking-overview-header {
    align-items: center;
    display: flex;
    gap: 16px;
}

.appeal-tracking-overview-icon {
    align-items: center;
    background: #edf6ef;
    border-radius: 50%;
    color: #08742b;
    display: flex;
    flex: 0 0 52px;
    font-size: 24px;
    height: 52px;
    justify-content: center;
}

.appeal-tracking-overview-title {
    min-width: 0;
}

.appeal-tracking-overview-title h3 {
    color: #242424;
    font-size: 20px;
    margin: 0;
    overflow-wrap: anywhere;
}

.appeal-tracking-overview-details {
    border-top: 1px solid #e3e6e4;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0 0;
    padding-top: 20px;
}

.appeal-tracking-overview-details > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 126px;
    min-width: 0;
    padding: 2px 24px 4px;
    text-align: center;
}

.appeal-tracking-overview-details > div:not(:first-child) {
    border-left: 1px solid #e3e6e4;
}

.appeal-tracking-detail-icon {
    align-items: center;
    background: #edf6ef;
    border-radius: 50%;
    color: #08742b;
    display: flex;
    flex: 0 0 44px;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    margin-bottom: 10px;
    width: 44px;
}

.appeal-tracking-overview-details dt {
    color: #66706a;
    font-size: 13px;
    font-weight: 400;
}

.appeal-tracking-overview-details dd {
    color: #242424;
    font-size: 15px;
    font-weight: 600;
    margin: 8px 0 0;
    overflow-wrap: anywhere;
}

.appeal-tracking-overview-current-status {
    color: #08742b !important;
}

.appeal-tracking-progress {
    margin-top: 22px;
}

.appeal-tracking-progress-title {
    color: #242424;
    font-size: 18px;
    margin: 0 0 12px;
}

.appeal-tracking-steps {
    background: #ffffff;
    border: 1px solid #d8e0da;
    border-radius: 4px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 14px;
}

.appeal-tracking-step {
    min-height: 148px;
    min-width: 0;
    padding: 52px 14px 14px;
    position: relative;
}

.appeal-tracking-step:not(:last-child)::after {
    background: #c8ceca;
    content: '';
    height: 3px;
    left: 49px;
    position: absolute;
    right: -1px;
    top: 29px;
}

.appeal-tracking-step-completed:not(:last-child)::after {
    background: #10a13a;
}

.appeal-tracking-step-marker {
    align-items: center;
    background: #ffffff;
    border: 2px solid #a5ada8;
    border-radius: 50%;
    color: #68706b;
    display: flex;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    left: 14px;
    position: absolute;
    top: 14px;
    width: 32px;
    z-index: 1;
}

.appeal-tracking-step-completed .appeal-tracking-step-marker {
    background: #0ba63a;
    border-color: #0ba63a;
    color: #ffffff;
}

.appeal-tracking-step-current {
    background: transparent;
}

.appeal-tracking-step-current .appeal-tracking-step-marker {
    background: #ffffff;
    border: 3px solid #08742b;
    box-shadow: 0 0 0 4px #e2f1e6;
    color: #08742b;
}

.appeal-tracking-step-current .appeal-tracking-step-content strong {
    color: #075f24;
}

.appeal-tracking-step-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.appeal-tracking-step-content strong {
    color: #242424;
    line-height: 1.3;
}

.appeal-tracking-step-state {
    color: #68706b;
    font-size: 12px;
}

.appeal-tracking-step-completed .appeal-tracking-step-state,
.appeal-tracking-step-current .appeal-tracking-step-state {
    color: #08742b;
    font-weight: 600;
}

.appeal-tracking-step-current .appeal-tracking-step-state::before {
    background: #0ba63a;
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 6px;
    margin: 0 6px 1px 0;
    width: 6px;
}

.appeal-tracking-step-upcoming .appeal-tracking-step-content {
    color: #737b76;
}

.appeal-tracking-step-meta {
    align-items: baseline;
    color: #5e6761;
    display: flex;
    font-size: 12px;
    gap: 6px;
}

.appeal-tracking-step-meta .fa {
    color: #7b847e;
    flex: 0 0 13px;
    text-align: center;
}

.appeal-tracking-history {
    margin-top: 24px;
}

.appeal-tracking-history h4 {
    margin: 0 0 12px;
}

.appeal-tracking-history .table-pens {
    width: 100%;
}

.appeal-tracking-captcha {
    background: #ffffff;
    border: 1px solid #d8e0da;
    border-top: 3px solid #08742b;
    padding: 18px;
}

.appeal-tracking-captcha h4 {
    margin-top: 0;
}

.appeal-tracking-captcha-content {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    margin: 18px 0;
}

.appeal-tracking-captcha-image {
    background: #ffffff;
    border: 1px solid #bbbbbb;
    display: block;
    max-width: 100%;
    min-height: 70px;
}

.appeal-tracking-captcha-controls {
    flex: 1 1 260px;
    max-width: 360px;
}

.appeal-tracking-captcha-controls label {
    display: block;
}

.appeal-tracking-captcha-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991px) {
    .appeal-tracking-overview-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appeal-tracking-overview-details > div {
        border-left: 0 !important;
        border-top: 1px solid #e3e6e4;
        padding: 12px 10px;
    }

    .appeal-tracking-overview-details > div:nth-child(-n + 2) {
        border-top: 0;
    }

    .appeal-tracking-step {
        padding-left: 10px;
        padding-right: 10px;
    }

    .appeal-tracking-step-marker {
        left: 10px;
    }

    .appeal-tracking-step:not(:last-child)::after {
        left: 45px;
    }
}

@media (max-width: 767px) {
    .appeal-tracking-appeal-block {
        padding: 6px 12px 18px;
    }

    .appeal-tracking-page-header h2 {
        font-size: 26px;
    }

    .appeal-tracking-search-row {
        grid-template-columns: 1fr;
    }

    .appeal-tracking-captcha-content {
        align-items: stretch;
        flex-direction: column;
    }

    .appeal-tracking-search-field,
    .appeal-tracking-captcha-controls {
        max-width: none;
        width: 100%;
    }

    .appeal-tracking-search-button {
        width: 100%;
    }

    .appeal-tracking-overview {
        padding: 16px;
    }

    .appeal-tracking-overview-header {
        align-items: flex-start;
    }

    .appeal-tracking-overview-icon {
        flex-basis: 44px;
        font-size: 20px;
        height: 44px;
    }

    .appeal-tracking-overview-title h3 {
        font-size: 18px;
    }

    .appeal-tracking-overview-details {
        grid-template-columns: 1fr;
    }

    .appeal-tracking-overview-details > div,
    .appeal-tracking-overview-details > div:first-child,
    .appeal-tracking-overview-details > div:nth-child(-n + 2) {
        border-left: 0;
        border-top: 1px solid #e3e6e4;
        padding: 12px 0;
    }

    .appeal-tracking-overview-details > div:first-child {
        border-top: 0;
    }

    .appeal-tracking-steps {
        display: block;
        padding: 12px;
    }

    .appeal-tracking-step {
        display: flex;
        min-height: 104px;
        padding: 12px 10px 20px 54px;
    }

    .appeal-tracking-step-marker {
        left: 10px;
        top: 12px;
    }

    .appeal-tracking-step:not(:last-child)::after {
        bottom: -1px;
        height: auto;
        left: 25px;
        right: auto;
        top: 45px;
        width: 3px;
    }


    .appeal-tracking-captcha-actions .btn {
        width: 100%;
    }
}
/* My appeals workspace */
.appeals-workspace {
    color: #242424;
    padding-bottom: 36px;
    width: 100%;
}

.appeals-workspace-header {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 0 0 18px;
}

.appeals-workspace-header h2 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0;
}

.appeals-refresh-button {
    min-width: 140px;
    width: 140px !important;
}

.appeals-refresh-button .fa {
    margin-left: 8px;
}

.appeals-section {
    background: #ffffff;
    border: 1px solid #d8dfda;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(20, 38, 25, 0.05);
    margin-bottom: 18px;
}

.appeals-active-section {
    border-top: 3px solid #08742b;
    position: relative;
}

.appeals-active-loading {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8dfda;
    border-top: 3px solid #08742b;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(20, 38, 25, 0.05);
    color: #4f5b53;
    display: flex;
    font-size: 14px;
    gap: 10px;
    justify-content: center;
    margin-bottom: 18px;
    min-height: 92px;
    padding: 20px;
}

.appeals-active-loading .fa {
    color: #08742b;
    font-size: 21px;
}

.appeals-search-workspace {
    position: relative;
}

.appeals-section-heading {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 16px 18px 12px;
}

.appeals-section-heading > div {
    align-items: center;
    display: flex;
    gap: 10px;
}

.appeals-section-heading h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

.appeals-count {
    align-items: center;
    background: #ffffff;
    border: 2px solid #08742b;
    border-radius: 50%;
    color: #08742b;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    min-width: 36px;
    padding: 0;
    width: 36px;
}

.appeals-table-wrap {
    overflow-x: auto;
    width: 100%;
}

.appeals-list-table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.appeals-list-table th {
    background: #ffffff;
    border-bottom: 1px solid #d8dfda;
    border-top: 1px solid #e5e9e6;
    color: #303630;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 16px;
    text-align: left;
}

.appeals-list-table td {
    border-bottom: 1px solid #e5e9e6;
    color: #242424;
    font-size: 13px;
    line-height: 1.45;
    padding: 14px 16px;
    vertical-align: middle;
}

.appeals-list-table tbody tr {
    /* Keep ngAnimate from delaying row removal during filtering and paging. */
    transition: none;
}

.appeals-list-table tbody tr:hover {
    background: #f7faf8;
}

.appeals-list-table tbody tr:last-child td {
    border-bottom: 0;
}

.appeals-list-table th:nth-child(1),
.appeals-list-table td:nth-child(1) {
    width: 16%;
}

.appeals-list-table th:nth-child(2),
.appeals-list-table td:nth-child(2) {
    width: 18%;
}

.appeals-list-table th:nth-child(4),
.appeals-list-table td:nth-child(4) {
    width: 23%;
}

.appeals-list-table th:nth-child(5),
.appeals-list-table td:nth-child(5) {
    width: 64px;
}

.appeals-row-unread {
    box-shadow: inset 3px 0 0 #08742b;
    font-weight: 600;
}

.appeals-date-cell span,
.appeals-date-cell small {
    display: block;
}

.appeals-date-cell small {
    color: #68716b;
    font-size: 12px;
    margin-top: 2px;
}

.appeals-topic-cell {
    overflow-wrap: anywhere;
}

.appeals-status {
    align-items: center;
    border: 1px solid;
    border-radius: 3px;
    display: inline-flex;
    font-size: 12px;
    gap: 7px;
    line-height: 1.35;
    max-width: 100%;
    padding: 5px 9px;
}

.appeals-status-dot {
    border-radius: 50%;
    flex: 0 0 7px;
    height: 7px;
    width: 7px;
}

.appeals-status-success {
    background: #edf7f0;
    border-color: #b9dbc1;
    color: #08742b;
}

.appeals-status-success .appeals-status-dot {
    background: #0a9c39;
}

.appeals-status-warning {
    background: #fff8e8;
    border-color: #ead7a4;
    color: #946200;
}

.appeals-status-warning .appeals-status-dot {
    background: #e59b11;
}

.appeals-status-danger {
    background: #fff0ef;
    border-color: #e6b5b2;
    color: #9b231d;
}

.appeals-status-danger .appeals-status-dot {
    background: #c53a31;
}

.appeals-status-info {
    background: #eef5f8;
    border-color: #bfd2da;
    color: #315d6c;
}

.appeals-status-info .appeals-status-dot {
    background: #4c8294;
}

.appeals-action-column {
    text-align: center !important;
}

.appeals-view-button,
.appeal-copy-button {
    background: transparent;
    border: 0;
    color: #08742b;
    font-size: 20px;
    height: 34px;
    line-height: 34px;
    padding: 0;
    text-align: center;
    width: 34px;
}

.appeals-view-button:hover,
.appeals-view-button:focus,
.appeal-copy-button:hover,
.appeal-copy-button:focus {
    background: #edf6ef;
    color: #075f24;
    outline: 2px solid transparent;
}

.appeals-table-footer {
    align-items: center;
    border-top: 1px solid #e5e9e6;
    color: #69716c;
    display: grid;
    font-size: 12px;
    gap: 16px;
    grid-template-columns: 1fr auto 1fr;
    min-height: 58px;
    padding: 10px 18px;
}

.appeals-pager {
    align-items: center;
    display: flex;
    grid-column: 2;
    justify-self: center;
}

.appeals-pager .pagination {
    display: flex;
    gap: 4px;
    margin: 0;
}

.appeals-pager .pagination > li > a,
.appeals-pager .pagination > li > span {
    align-items: center;
    border: 1px solid #d1d8d3;
    border-radius: 3px;
    color: #08742b;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    line-height: 1;
    margin-left: 0;
    min-width: 34px;
    padding: 6px 9px;
}

.appeals-pager .pagination > .active > a,
.appeals-pager .pagination > .active > a:hover,
.appeals-pager .pagination > .active > a:focus {
    background: #08742b;
    border-color: #08742b;
    color: #ffffff;
    font-weight: 700;
}

.appeals-pager .pagination > .disabled > span,
.appeals-pager .pagination > .disabled > span:hover,
.appeals-pager .pagination > .disabled > span:focus {
    background: #ffffff;
    color: #a3aaa5;
}

.appeals-page-size {
    align-items: center;
    display: flex;
    font-weight: 400;
    gap: 10px;
    grid-column: 3;
    justify-self: end;
    margin: 0;
}

.appeals-page-size .form-control {
    height: 34px;
    width: 70px;
}

.appeals-search-section {
    border-top: 3px solid #08742b;
}

.appeals-filter-form {
    padding: 2px 18px 18px;
}

.appeals-filter-grid {
    align-items: end;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.appeals-filter-field {
    min-width: 0;
}

.appeals-filter-field .form-group {
    margin: 0;
}

.appeals-filter-field .input-date-group {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.appeals-filter-field .control-label,
.appeals-filter-field [class*="col-sm-"] {
    display: block;
    float: none;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    width: 100%;
}

.appeals-filter-field .control-label {
    color: #333333;
    font-size: 13px;
    margin-bottom: 7px;
}

.appeals-filter-field .form-control,
.appeals-filter-field .ui-select-container,
.appeals-filter-field .ui-select-match,
.appeals-filter-field .ui-select-toggle {
    min-height: 40px;
    width: 100%;
}

.appeals-filter-field .ui-select-search-hidden {
    min-height: 0;
}

.appeals-filter-field .uib-datepicker-popup.dropdown-menu {
    background-color: #eeeeee;
}

.appeals-filter-actions {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 18px;
}

.appeals-search-button {
    min-width: 180px;
    width: 180px !important;
}

.appeals-search-button .fa {
    float: none;
    line-height: 1;
    margin-left: 10px;
}

.appeals-reset-button {
    border-color: #08742b;
    color: #08742b;
    min-width: 140px;
    width: 140px !important;
}

.appeals-refresh-button,
.appeals-search-button,
.appeals-reset-button {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    height: 40px;
    justify-content: center;
    line-height: 20px;
    min-height: 40px;
    padding: 8px 16px;
}

.appeals-results-heading {
    border-bottom: 1px solid #e5e9e6;
}

.appeals-results-total {
    color: #5f6862;
    font-size: 12px;
}

.appeals-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 12px 18px;
}

.appeals-status-tabs button {
    background: #ffffff;
    border: 1px solid #d8dfda;
    color: #3e4540;
    font-size: 12px;
    min-height: 36px;
    padding: 7px 18px;
}

.appeals-status-tabs button + button {
    margin-left: -1px;
}

.appeals-status-tabs button.active {
    background: #08742b;
    border-color: #08742b;
    color: #ffffff;
}

.appeals-empty-results {
    align-items: center;
    background: #edf7f0;
    border-left: 5px solid #08742b;
    color: #28412f;
    display: flex;
    gap: 10px;
    margin: 0 18px 18px;
    min-height: 54px;
    padding: 12px 16px;
}

.appeals-empty-results .fa {
    color: #08742b;
    font-size: 20px;
}

.appeal-details-modal .modal-dialog {
    margin: 18px auto !important;
    max-width: calc(100% - 32px);
    width: 860px;
}

.appeal-details-modal .modal-content {
    background: #ffffff;
    border: 1px solid #398f28;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.appeal-details-header {
    align-items: center;
    background: #398f28;
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 13px 18px;
}

.appeal-details-header::before,
.appeal-details-header::after {
    content: none;
    display: none;
}

.appeal-details-header .modal-title {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
}

.appeal-details-close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    gap: 7px;
    height: auto;
    line-height: 1.2;
    padding: 4px 0;
    width: auto;
}

.appeal-details-close:hover,
.appeal-details-close:focus {
    background: transparent;
    color: #ffffff;
    opacity: 0.82;
}

.appeal-details-body {
    background: #ffffff;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 12px 16px 16px;
}

.appeal-details-summary {
    border: 1px solid #d8dfda;
    padding: 12px;
}

.appeal-details-original .form-horizontal {
    margin: 0;
}

.appeal-details-original .inspector-table {
    table-layout: auto;
    width: 100%;
}

.appeal-details-original .inspector-table tbody tr {
    display: table-row;
}

.appeal-details-original .inspector-table tbody tr:not(.inspector-table-head) td {
    box-sizing: border-box;
    line-height: 1.4;
    padding-bottom: 7px;
    padding-top: 7px;
    vertical-align: top;
}

.appeal-details-original .inspector-table tbody tr:not(.inspector-table-head) td:first-child {
    min-width: 0;
    padding-left: 12px;
    padding-right: 14px;
    width: 32%;
}

.appeal-details-original .inspector-table tbody tr:not(.inspector-table-head) td:nth-child(2) {
    padding-left: 16px;
    padding-right: 12px;
    width: 68%;
}

.appeal-details-original .inspector-table .inspector-table-head td {
    font-size: 14px;
    height: 38px;
    padding: 8px 12px !important;
    width: auto;
}

.appeal-details-original .inspector-table .control-label {
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.appeal-details-track {
    align-items: center;
    background: #f0f7f2;
    border: 1px solid #c9dfcf;
    border-left: 4px solid #08742b;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 12px;
    padding: 9px 12px;
}

.appeal-details-track-label {
    align-items: center;
    color: #303630;
    display: inline-flex;
    gap: 8px;
    font-weight: 700;
}

.appeal-details-track strong {
    color: #08742b;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.appeal-details-track-value {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    margin-left: auto;
}

.appeal-details-tracking {
    margin-top: 14px;
}

.appeal-details-modal .appeal-tracking-progress {
    margin-top: 0;
}

.appeal-details-modal .appeal-tracking-progress-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.appeal-details-modal .appeal-tracking-steps {
    padding: 10px;
}

.appeal-details-modal .appeal-tracking-step {
    min-height: 136px;
    padding-left: 10px;
    padding-right: 10px;
}

.appeal-details-modal .appeal-tracking-step-marker {
    left: 10px;
}

.appeal-details-modal .appeal-tracking-step:not(:last-child)::after {
    left: 45px;
}

.appeal-tracking-step-estimate {
    color: #5e6761;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 4px;
    margin-top: 4px;
}

.appeal-details-estimate-note {
    align-items: flex-start;
    background: #edf7f0;
    border-left: 4px solid #08742b;
    color: #3a463d;
    display: flex;
    font-size: 12px;
    gap: 10px;
    line-height: 1.45;
    margin-top: 10px;
    padding: 9px 12px;
}

.appeal-details-estimate-note .fa {
    color: #08742b;
    font-size: 16px;
    margin-top: 1px;
}

.appeal-details-response {
    border-top: 1px solid #dfe5e1;
    margin-top: 14px;
    padding-top: 12px;
}

.appeal-details-response h3 {
    font-size: 18px;
    margin: 0 0 12px;
}

.appeal-response-text {
    background: #f5f7f6;
    border-left: 4px solid #08742b;
    margin-bottom: 12px;
    padding: 12px 14px;
}

.appeal-response-text strong {
    color: #08742b;
    display: block;
    margin-bottom: 5px;
}

.appeal-response-text p {
    margin: 0;
    white-space: pre-wrap;
}

.appeal-response-loading {
    color: #5f6862;
    margin: 12px 0;
}

.appeal-response-loading .fa {
    color: #08742b;
    margin-right: 6px;
}

.appeal-response-files {
    display: grid;
    gap: 10px;
}

.appeal-response-file {
    align-items: center;
    background: #f7faf8;
    border: 1px solid #dce5df;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 12px;
}

.appeal-response-file-icon {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8dfda;
    color: #c4312d;
    display: flex;
    font-size: 22px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.appeal-response-file-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.appeal-response-file-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.appeal-response-file-info > span {
    color: #69716c;
    font-size: 12px;
    margin-top: 3px;
}

.appeal-response-file-info > .appeal-response-file-type {
    color: #414b44;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.appeal-response-file-actions {
    display: flex;
    gap: 8px;
}

.appeal-response-file-actions .btn {
    border-color: #72ae82;
    color: #08742b;
    font-size: 12px;
}

.appeal-response-file-actions .appeal-download-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
    min-width: 138px;
}

.appeal-response-file-actions .appeal-download-button[disabled] {
    cursor: wait;
    opacity: 0.75;
}

.appeal-response-file-actions .fa {
    margin-right: 6px;
}

@media (max-width: 991px) {
    .appeals-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appeals-list-table {
        min-width: 760px;
    }
}

@media (max-width: 767px) {
    .appeals-workspace-header {
        align-items: stretch;
        flex-direction: column;
    }

    .appeals-workspace-header h2 {
        font-size: 26px;
    }

    .appeals-refresh-button {
        align-self: flex-end;
        min-width: 140px;
    }

    .appeals-filter-grid {
        grid-template-columns: 1fr;
    }

    .appeals-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .appeals-search-button,
    .appeals-reset-button {
        width: 100% !important;
    }

    .appeals-table-footer {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .appeals-pager,
    .appeals-page-size {
        grid-column: 1;
    }

    .appeals-pager {
        justify-self: start;
    }

    .appeals-page-size {
        justify-self: end;
    }

    .appeals-status-tabs {
        flex-direction: column;
    }

    .appeals-status-tabs button + button {
        margin-left: 0;
        margin-top: -1px;
    }

    .appeal-details-modal .modal-dialog {
        margin: 10px auto !important;
        max-width: calc(100% - 20px);
        width: auto;
    }

    .appeal-details-header {
        padding: 14px 16px;
    }

    .appeal-details-header .modal-title {
        font-size: 20px;
    }

    .appeal-details-body {
        max-height: calc(100vh - 86px);
        padding: 12px;
    }

    .appeal-details-summary {
        padding: 14px;
    }

    .appeal-details-track {
        align-items: flex-start;
        flex-direction: column;
    }

    .appeal-details-track-label {
        width: 100%;
    }

    .appeal-details-track-value {
        justify-content: flex-start;
        margin-left: 0;
        width: auto;
    }

    .appeal-details-modal .appeal-tracking-step {
        min-height: 104px;
        padding: 12px 10px 20px 54px;
    }

    .appeal-details-modal .appeal-tracking-step-marker {
        left: 10px;
    }

    .appeal-details-modal .appeal-tracking-step:not(:last-child)::after {
        left: 25px;
    }

    .appeal-response-file {
        align-items: start;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .appeal-response-file-actions {
        flex-wrap: wrap;
        grid-column: 1 / -1;
    }

    .appeal-response-file-actions .btn {
        flex: 1 1 140px;
    }
}
