.tx-filelist {

    transition: all 0.3s ease;

    .breadcrumb {
        list-style-type: none;
    }

    .f-2025-file-list {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding-top: 50px;
        padding-left: 0;

    }

    .f-2025-file-list-slim {
        list-style: none;
        padding: 0;
    }

    .file-list-slim-headers {
        display: grid;
        grid-template-columns: 2fr 0.5fr 0.5fr 1fr 160px;
        gap: 10px;
        padding: 10px 15px;
        border-radius: 4px;
        margin-bottom: 12px;
        font-weight: 500;
        color: #0D2240;


        font-size: 18px;
        font-style: normal;
        line-height: 24px;

        @media (max-width: 768px) {
            display: none;
        }
    }

    .file-item, .folder-item {
        background: white;
        padding: 20px 25px 20px 15px;
        margin-bottom: 12px;
        border-radius: 4px;
        border: 1px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease-in-out;

        display: flex;
        justify-content: space-between;
        align-items: center;

        &:hover {
            box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
        }
    }

    .file-item-slim {
        display: grid;
        grid-template-columns: 2fr 0.5fr 0.5fr 1fr 160px;
        gap: 10px;
        background: white;
        padding: 10px 15px;
        margin-bottom: 12px;
        border-radius: 4px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease-in-out;
        align-items: center;

        &:hover {
            box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
        }

        .file-name-container {
            display: flex;
            align-items: center;
            gap: 10px;

            .icon {
                height: 30px;
                width: 30px;
            }

            .title {
                color: #7A2582;
                font-size: 16px;
                font-weight: 400;
                line-height: 24px;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }

            .new-file-badge {
                font-size: 10px;
                padding: 2px 6px;
                border-radius: 6px;
                background: #FFC800;
                color: #0D2240;
                margin-left: 6px;
            }
        }


        .file-type-slim,
        .file-size-slim,
        .file-date-slim {
            color: #55565A;
            font-size: 14px;
        }


        @media (max-width: 768px) {
            grid-template-columns: 1fr;
            .file-type-slim,
            .file-size-slim,
            .file-date-slim,
            .file-cta-btn-slim {
                display: none;
            }

            .file-name-container {
                width: 100%;
                justify-content: flex-start;
            }
        }
    }

    .file-type-slim, .folder-type-slim {
        color: #0D2240;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 166.667% */
        letter-spacing: 2.4px;
        text-transform: uppercase;
    }

    .file-cta-btn-slim {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 5px 10px;
        color: #7A2582;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;

        &:hover {
            color: #4d1351;
        }

        svg {
            width: 16px;
            height: 16px;
        }

        div {
            margin-top: 2px;
        }
    }

    .folder-item-slim {
        display: grid;
        grid-template-columns: 2fr 0.5fr 0.5fr 1fr 160px;
        gap: 10px;
        background: white;
        padding: 10px 15px;
        margin-bottom: 12px;
        border-radius: 4px;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease-in-out;
        align-items: center;

        &:hover {
            box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
        }

        .folder-name-container {
            display: flex;
            align-items: center;
            gap: 10px;

            .icon {
                height: 30px;
                width: 30px;
            }

            .title {
                color: #7A2582;
                font-size: 16px;
                font-weight: 400;
                line-height: 24px;
                text-decoration: none;

                &:hover {
                    text-decoration: underline;
                }
            }

            .new-file-badge {
                font-size: 10px;
                padding: 2px 6px;
                border-radius: 6px;
                background: #FFC800;
                color: #0D2240;
                margin-left: 6px;
            }
        }

        .folder-type-slim,
        .folder-size-slim,
        .folder-date-slim {
            color: #55565A;
            font-size: 14px;
        }

        @media (max-width: 768px) {
            grid-template-columns: 1fr;
            .folder-type-slim,
            .folder-size-slim,
            .folder-date-slim,
            .file-cta-btn-slim {
                display: none;
            }

            .folder-name-container {
                width: 100%;
                justify-content: flex-start;
            }
        }
    }

    .icon {
        height: 50px;
        width: 50px;
    }

    .details-container {
        display: flex;
        align-items: center;
        gap: 24px;

        .text-container {
            display: flex;
            flex-direction: column;
            justify-content: center;

            .title {
                color: #7A2582;

                font-size: 20px;
                font-style: normal;
                font-weight: 400;
                line-height: 28px; /* 140% */
            }

            .new-file-badge {
                font-size: 12px;
                font-style: normal;
                font-weight: 500;
                padding: 4px 8px;
                border-radius: 8px;
                background: #FFC800;
                color: #0D2240;
                margin-left: 8px;
            }

            .details {
                color: #55565A;

                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 22px; /* 157.143% */
                letter-spacing: 0.28px;
            }
        }

        .file-type {
            color: #55565A;
            font-size: 14px;
            font-style: normal;
            font-weight: 700;
            line-height: 22px;
            letter-spacing: 0.28px;
            text-transform: uppercase;
        }
    }

    .file-cta-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 9px;

        padding: 10px 15px;
        background: #F3F3F3;
        color: #0D2240;

        height: fit-content;

        border-radius: 4px;

        /* btn-md */
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        letter-spacing: 0.7px;

        border: none;

        transition: all 0.3s ease-in-out;
        text-decoration: none;

        div {
            margin-top: 4px;
        }

        &:hover {
            background: #FFC800;
            text-decoration: none;
        }

        &:active {
            background: #b18905;
        }
    }


    .back-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 30px;

        transition: color ease-in-out 0.3s;

        color: #00338D;
        text-align: right;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px; /* 185.714% */
        letter-spacing: 1px;

        &:hover {
            color: #0541b6;
        }

        &:active {
            color: #043c9f;
        }

        .text {
            margin-top: 4px;
        }
    }

    .f-2025-file-grid {
        padding-top: 50px;

        .grid-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            padding-left: 0;

            @media (min-width: 576px) {
                grid-template-columns: repeat(2, 1fr);
            }

            @media (min-width: 1180px) {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .folder-item, .file-item {
            flex-direction: column;
            min-height: 240px;
        }

        .details-container {
            width: 100%;
            justify-content: flex-start;
        }

        .file-cta-btn {
            margin-top: auto;
        }
    }


    .file-item:hover .title, .folder-item:hover .title, .file-item-slim:hover .title, .folder-item-slim:hover .title {
        font-weight: 500;
        text-decoration: none;
    }

}
