/* Styles for public notifications search page (provided by client). */
*,
.filterForm *,
.filterForm *::before,
.filterForm *::after {
    box-sizing: border-box;
}

@font-face { font-family: "mr"; src: url("/assets/fonts/bpg-arial-master/fonts/bpg_arial.ttf"); font-weight: normal; }
@font-face { font-family: "hl"; src: url("/assets/fonts/bpg-arial-master/fonts/bpg_arial.ttf"); font-weight: normal; }

.filterForm {
    width: 1000px;
    max-width: 100%;
    height: auto;
    padding: 20px 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 30px auto;
    position: relative;
    align-items: baseline;
}
.filterForm ul { height: auto; list-style: none; padding: 0; margin: 0; }
.filterForm ul:first-of-type { width: 620px; display: flex; flex-wrap: wrap; justify-content: space-between; }
.filterForm ul:first-of-type > li:last-child { margin-top: 20px; }
.filterForm ul.searchByText { width: 331px; align-items: baseline; }
.filterForm ul.searchByText > li { position: relative; }
.filterForm ul.searchByText > li > input { padding-right: 30px; }
.filterForm ul.searchByText > li.addInputs {
    font-family: "mr"; font-size: 12px; color: #0F9D58;
    justify-content: flex-end; cursor: pointer;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.filterForm ul > li {
    display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px;
}
.filterForm ul > li:not(._100) { width: 300px; }
.filterForm ul > li._100 { width: 100%; }
.filterForm ul > li label { width: 100%; display: block; font-family: "mr"; font-size: 13px; color: #484848; margin-bottom: 6px; }
.filterForm ul > li button {
    width: 150px; height: 35px; border-radius: 3px;
    font-family: "mr"; font-size: 12px; color: #ffffff;
    cursor: pointer; opacity: 0.8; transition: 0.3s; border: 0;
}
.filterForm ul > li button:hover { opacity: 1; }
.filterForm ul > li button.search-submit { background-color: #0F9D58; position: relative; }
.filterForm ul > li button.search-clear { background-color: #F5403A; }
.inputClass {
    width: 100% !important; height: 35px;
    background-color: #EEEEEE; border-radius: 3px;
    font-family: "hl"; font-size: 13px; color: #484848; text-indent: 10px;
    border: 0; outline: 0;
}
.inputClass._50 { width: 130px !important; }

select.inputClass { text-indent: 6px; }

.lds-dual-ring { display: inline-block; width: 22px; height: 22px; position: absolute; top: 6px; right: 10px; }
.lds-dual-ring:after {
    content: " "; display: block; width: 16px; height: 16px;
    border-radius: 50%; border: 3px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
.lds-dual-ring.hidden { display: none; }

.responsiveButtons { width: 100%; display: none; justify-content: space-between; margin-top: 30px; }
.responsiveButtons button {
    width: 150px; height: 35px; border-radius: 3px;
    font-family: "mr"; font-size: 12px; color: #ffffff;
    cursor: pointer; opacity: 0.8; transition: 0.3s; border: 0;
}
.responsiveButtons button.search-submit { background-color: #0F9D58; position: relative; }
.responsiveButtons button.search-clear { background-color: #F5403A; }

@keyframes lds-dual-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 1023px) {
    .filterForm { width: 100%; }
    .filterForm ul:first-of-type { width: 100%; }
    .filterForm > ul:first-of-type > li.responsiveHiddenButtons { display: none; }
    .filterForm .responsiveButtons { display: flex; }
}
@media only screen and (max-width: 840px) {
    .filterForm ul { width: 100% !important; }
    .filterForm ul > li { width: 100% !important; }
    .filterForm ul > li .inputClass._50 { width: 48% !important; }
    .filterForm .responsiveButtons button { width: 130px; }
}
@media only screen and (max-width: 320px) {
    .filterForm ul > li button { width: 100% !important; margin-bottom: 15px !important; }
}

/* Results */
.notifications-results {
    width: 1000px; max-width: 100%;
    margin: 0 auto 40px; background: #fff;
    border-radius: 5px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.notifications-results table { width: 100%; border-collapse: collapse; font-family: "hl"; font-size: 13px; min-width: 720px; }
.notifications-results th, .notifications-results td { padding: 10px 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; word-break: break-word; }
.notifications-results th { font-family: "mr"; color: #484848; background: #fafafa; }
.notifications-results .empty { padding: 20px; text-align: center; color: #888; }
.notifications-results .file-actions { display: inline-flex; align-items: center; gap: 8px; }
.notifications-results .file-link { color: #0F9D58; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; line-height: 1; background: transparent; border: 0; padding: 0; cursor: pointer; }
.notifications-results .file-link:hover { opacity: 0.7; }
.notifications-results .file-link svg { display: block; }

@media only screen and (max-width: 1023px) {
    .filterForm,
    .notifications-results {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .filterForm { padding: 15px 8px; }
    .filterForm ul > li label { font-size: 12px; }
    .filterForm ul.searchByText > li.addInputs { font-size: 11px; }
    .notifications-results { padding: 10px; }
    .notifications-results table { font-size: 12px; min-width: 640px; }
    .notifications-results th, .notifications-results td { padding: 8px 6px; }
}

/* Detail popup (preview modal) */
.popBackground {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    transition: opacity 0.15s ease;
}
.popBackground .tablePopUp {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    width: 720px; max-width: 100%;
    padding: 25px 28px 20px;
    font-family: "hl", sans-serif;
}
.popBackground .printVersion h3,
.popBackground .printVersion h4 {
    text-align: center;
    margin: 0 0 6px;
    color: #2a2a2a;
}
.popBackground .printVersion h3 { font-size: 18px; font-family: "mr", sans-serif; }
.popBackground .printVersion h4 { font-size: 14px; font-weight: normal; margin-bottom: 14px; }
.popBackground .printVersion .userHepl {
    display: block;
    text-align: right;
    color: #888;
    font-size: 12px;
    margin: 0 0 14px;
    text-decoration: none;
}
.popBackground .printVersion ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    border-top: 1px solid #eee;
}
.popBackground .printVersion ul > li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    line-height: 1.55;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.popBackground .printVersion ul > li > label {
    flex: 0 0 160px;
    color: #484848;
    font-family: "mr", sans-serif;
    margin: 0;
}
.popBackground .printVersion ul > li > span {
    flex: 1 1 auto;
    color: #2a2a2a;
    word-break: break-word;
    white-space: pre-line;
}
.popBackground .search-submit,
.popBackground .closePop {
    border: 0;
    border-radius: 4px;
    padding: 9px 22px;
    font-family: "mr", sans-serif;
    font-size: 13px;
    cursor: pointer;
    margin-right: 8px;
}
.popBackground .search-submit { background: #4a70c4; color: #fff; }
.popBackground .search-submit:hover { background: #3d5fab; }
.popBackground .closePop { background: #e0e0e0; color: #333; }
.popBackground .closePop:hover { background: #ccc; }

@media only screen and (max-width: 600px) {
    .popBackground .tablePopUp { padding: 18px 16px 14px; }
    .popBackground .printVersion ul > li > label { flex: 0 0 100%; }
}
