.new-badge {
    background-color: #4caf50;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: bold;
    vertical-align: middle;
}

#explorer .explorer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#add-btn {
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#explorer .icon-btn-control {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
}

#explorer .icon-btn-control .action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

#explorer .icon-btn-control .action-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.file-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.explorer-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.explorer-icon {
    font-size: 24px;
}

#zip-title {
    font-weight: bold;
    color: #333;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Table Layout Fixes */
.file-table-section table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.file-table-section thead {
    background-color: transparent !important;
}

.file-table-section th {
    background-color: transparent !important;
    border-bottom: 2px solid #eef2f7;
    padding: 12px 15px;
    font-weight: 600;
    color: #444;
}

.th-name {
    width: auto;
}

.th-fixed {
    width: 120px; /* Increased slightly for better fit */
    text-align: center;
}

.file-table-section td {
    text-align: center;
    padding: 14px 15px; /* Added more vertical padding */
    border-bottom: 1px solid #f4f7fa;
}

.file-table-section td:first-child {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* UI Padding Improvements */
.explorer-card {
    padding: 0 10px; /* Reduced card internal padding to give more room to table */
}

.file-table-section {
    margin: 0;
    padding: 0 20px; /* Increased side padding for the table contents */
}

.explorer-top {
    padding: 20px 20px;
}

.breadcrumb-pill {
    margin: 0 20px 15px 20px;
    padding: 8px 15px;
}

.explorer-footer {
    padding: 15px 20px;
}

/* Breadcrumb Styling */
.breadcrumb-item {
    cursor: pointer;
    color: #4aa5f2;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
    cursor: default;
    text-decoration: none;
}

/* Folder specific styling */
.folder-row {
    cursor: pointer;
    background-color: #fcfdfe;
}

.folder-row:hover {
    background-color: #f0f7ff;
}

.view-link {
    color: #4aa5f2;
    text-decoration: none;
    font-weight: 500;
}

.view-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #explorer .explorer-actions {
        flex-wrap: wrap;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 5px;
    }

    #explorer .icon-btn-control {
        width: 46px;
    }

    .th-fixed {
        width: 80px;
    }
}
