#kdn-file-table{
    width: 100%;
    border-collapse: collapse;
        margin-top: 15px;
    }
    #kdn-file-table th{
   padding: 10px;
    font-weight: 500;
    color: #4a89bf;
    text-align: center;
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);

    
    }
    #kdn-file-table td{
        padding: 8px;
    border-bottom: solid 1px #ddd;
    background: #fff;
    }
    .Dwbutton {
    display: inline-block;
    padding: 4px 12px;
    margin: 0;
    color: #666 !important;
    text-align: center;
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
    vertical-align: middle;
    cursor: pointer;
    border-radius: 4px;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-bottom-color: #b3b3b3;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
}

.Dwbutton i {
    margin-right: 5px; /* space between icon & text if any */
    font-size: 14px;
}

.Dwbutton:hover {
    color: #095da8;
}

.kdn-search-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.kdn-search-container input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 220px;
    margin: 0 auto;
}

.kdn-search-container input:focus {
    border-color: #0a76d3;
    box-shadow: 0 0 6px rgba(10, 118, 211, 0.3);
    outline: none;
}

.kdn-search-container span {
    font-size: 14px;
    color: #555;
    background: #f7f9fc;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kdn-search-container span i {
    color: #0a76d3;
}

@media (max-width: 576px) {
    .kdn-search-container {
        justify-content: center;
    }
    .kdn-search-container input {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .kdn-table thead {
        display: none; /* Hide header */
    }
    .kdn-table, .kdn-table tbody, .kdn-table tr, .kdn-table td {
        display: block;
    }
    #kdn-file-table td {
            border: solid 1px #ddd;
}
    .kdn-table tr {
        background: #fff;
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 2px;
    }
#fileversion{
    width:100% !important;
}
    
    /* Hide original date/size/download columns in mobile */
    .kdn-table td:nth-child(2),
    .kdn-table td:nth-child(3),
    .kdn-table td:nth-child(4),
    .kdn-table td:nth-child(5) {
        display: none;
    }
    .kdn-table tr td:first-child {
        border-top-left-radius: 4px!important;
        border-top-right-radius: 4px!important;
        color: #333333!important;
        text-shadow: 0 1px 1px rgb(255 255 255 / 75%)!important;
        vertical-align: middle!important;
        cursor: pointer!important;
        background-color: #f5f5f5!important;
        background-image: linear-gradient(to bottom, #ffffff, #e6e6e6)!important;
                font-size: 13px;
        background-repeat: repeat-x!important;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%)!important;
    }

    /* Rest of the card body */
    .kdn-mobile-extra {
        border-radius: 0 0 6px 6px;
        padding: 8px 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    /* Bottom row style */
    .kdn-bottom-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: #555;
    }
    .kdn-bottom-row a {
        font-size: 16px;
        color: #0a76d3;
    }
}
/* Desktop: hide the extra mobile row */
@media (min-width: 769px) {
    .kdn-mobile-extra {
        display: none !important;
    }
}
.mobDwbutton{
    padding: 1px;
    display: flex !important;
    align-items: center;
    border: solid 2px #ccc;
    justify-content: center;
    background-color: #086fc8 !important;
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none !important;
    font-size: 15px;
    width: 30px;
    height: 30px;
}
#kdn-load-more {
    background: #0a76d3; /* Blue */
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#kdn-load-more:hover {
    background: #095da8; /* Darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#kdn-load-more:active {
    transform: translateY(0);
    box-shadow: none;
}

#kdn-load-more:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}
#kdn-load-more-container{
    text-align: center;
    margin: 20px;
}
#fileversion{
    color: #0063b9 !important;
    font-weight: 500;
    font-family: inherit;
}