:root {
    --accent-light: #76b600;
}

.clear-icon {
    display: none;
}

.container-flex.search-box-lab {
    display: flex;
    width: 100%;
    gap: 5px;
    border: 1px solid #e4e4e4;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0 14px 21px -12px #d5d9e1a1;
    margin-top: -30px;
    background: #fff;
    max-width: 720px;
}

.container.search-container-index {
    display: flex;
    justify-content: center;
}

.page-title-holder {
    padding-bottom: 40px !important;
}

input#project-search-input {
    outline: none;
    border: none;
    flex: 1;
}

.start-data-display {
    margin: 20px 0px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 70px;
}


.test-category-show {
    font-weight: 600;
    font-size: 1.1rem;
}

.test-category-desc {
    font-size: 0.9rem;
    color: #222;
}

.head-test {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 30px;
}

.project-item {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 15px;
    border: 1px solid #e7ebf0;
    transition: all .5s ease;
    word-break: break-word;
    border-radius: 3px;
}

.project-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.head-test>div {
    text-align: center;
}

.project-item-splitter {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

.project-item-splitter-child img {
    max-width: 40px;
    margin: 10px 0px;
}

p.test-name.load-link {
    margin: 5px 0px;
    font-size: 1rem;
    font-weight: 600;
}

p.test-desc {
    margin: 4px 0px;
    font-size: 0.85rem;
    color: #636363;
}

p.link-to-project {
    margin: 10px 0px;
    font-size: 0.85rem;
    margin-bottom: 0px;
}

/* Default arrow and project-item styling */
.linker-projects {
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    color: #000;
}

.linker-projects .arrow {
    display: inline-block;
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.project-item {
    border: 1px solid #e7ebf0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

/* On hover: move the arrow and change project-item border */
.linker-projects:hover .arrow {
    margin-left: 12px;
    /* move > smoothly to right */
}

.linker-projects:hover {
    color: #0056b3;
    /* slightly darker blue on hover */
}

.project-item:hover {
    border-color: #007bff;
    /* blue border on hover */
}

span.enscy-app-name-display {
    font-size: 25px;
    font-family: "Funnel Display", "Red Hat Display";
    font-weight: bold;
    white-space: nowrap;
}

.res-holders {
    padding: 10px 0px;
    border-bottom: 1px solid #efefef;
    background: #000;
    color: #fff;
}

.res-holder-2 {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

p.res-login-header {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0px;
    width: 80%;
}

button.enscy-btn {
    background: var(--accent-light);
    color: #fff;
    border: none;
    font-size: 0.9rem;
    padding: 5px 20px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

/* Apply hover effect only on devices that support hover (i.e., desktops) */
@media (hover: hover) and (pointer: fine) {
    button.enscy-btn:hover {
        background: #000;
    }
}

/* Optional: Highlight briefly on tap for touch devices */
@media (hover: none) and (pointer: coarse) {
    button.enscy-btn:active {
        filter: brightness(0.9);
    }
}


.enscygen-project-app-frame {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.9rem;
}

.ens-input-holder-main.input-holder-type-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: flex-start;
}

.ens-input-holder-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.holder-button {
    margin: 0px;
}

.ens-input-sub-holder.holder-input {
    display: flex;
    gap: 5px;
    width: 100%;
}

.ens-input-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ens-input-sub-holder.holder-label {
    font-size: 0.85rem;
}

.ens-input-sub-holder.holder-input * {
    flex: 1;
    margin: 0px;
}

.ens-input-sub-holder.holder-label * {
    flex: 1;
    margin: 0px;
}

.ens-input-sub-holder.holder-input.input-styled-normal * {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #fff;
}

.tool-info-box {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 1rem;
    background-color: #fff;
    margin: 2rem 0rem;
    position: relative;
    font-size: 0.8rem;
}

.tool-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.tool-info-title {
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0;
}

.tool-info-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.ens-input-sub-holder.holder-input.holder-input-file * {
    font-size: 0.9rem;
}

.table-con-div table {
    border-collapse: collapse;
    /* Ensures borders are merged between cells */
    width: 100%;
    /* Optional, ensures the table takes full width */
}

.table-con-div table,
.table-con-div th,
.table-con-div td {
    border: 1px solid #ccc;
    /* Border for table, headers, and cells */
    padding: 5px;
    /* Adds padding for readability */
    text-align: left;
    /* Aligns text to the left (optional) */
}

.table-con-div th {
    background-color: #f2f2f2;
    /* Light background for headers (optional) */
}

.allow-hor-scroll.table-con-div {
    overflow-x: auto;
}

p.project-section-header {
    margin: 10px 0px;
    font-weight: bold;
}

img.guide-img-for-pro {
    margin: 20px 0px;
    max-width: 300px;
    width: 100%;
}

.download-table-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 0px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.download-table-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2200;
}

.download-modal-close {
    font-size: 24px;
    cursor: pointer;
}

.download-table-modal-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    margin-bottom: 10px;
}

p.download-modal-header {
    font-weight: bold;
    margin-bottom: 0px;
}

.stts-checkbox {
    display: flex;
    align-content: center;
    align-items: center;
}

div#tableCheckboxes,
div#pdfDivCheckboxes,
#excelContent,
#pdfContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0px;
}

p.show-msg-app {
    margin: 10px 0px;
    font-style: italic;
    font-size: 0.8rem;
}

.select-table-to-save {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    align-items: center;
    align-content: center;
}

.download-tab-buttons {
    display: flex;
    margin-bottom: 15px;
    border-radius: 3px;
    overflow: hidden;
}

.download-tab-buttons .report-tab-btn.active {
    background-color: #000;
    color: #fff;
}

.report-tab-btn {
    border: none;
    font-size: 0.9rem;
    padding: 5px 15px;
    flex: 1;
}

.download-tab-content {
    max-height: 300px;
    overflow-y: auto;
}

.no-data-msg {
    font-style: italic;
    color: #888;
    padding: 10px;
}

.download-tab-footer {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.project-app-container {
    margin: 20px 0px;
}

.tool-info-title.show-icon-along::before {
    content: '';
    display: inline-block;
    width: 24px;
    /* adjust as needed */
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
    /* spacing between icon and text */
    vertical-align: middle;
}