.azblob_container {
    max-width: 100%;
    margin: 20px 0;
}

/* Breadcrumb Navigation */
.azblob_subdirpath {
    margin: 15px 0;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-left: 4px solid #0073aa;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.5;
}

.azblob_subdirpath strong {
    color: #333;
    margin-right: 10px;
}

.azblob_subdirpath a {
    color: #0073aa;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-weight: 500;
}

.azblob_subdirpath a:hover,
.azblob_subdirpath a:focus {
    color: #005a87;
    outline: 2px solid #005a87;
    outline-offset: 2px;
}

.azblob_subdirpath a:focus {
    outline: 2px solid #4A90E2;
}

/* File List */
.azblob_filelist {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.azblob_item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.azblob_item:last-child {
    border-bottom: none;
}

.azblob_item:hover {
    background-color: #f9f9f9;
}

.azblob_item_content {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 12px;
}

/* Icon */
.azblob_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.azblob_icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    alt: "File icon"; /* Ensure alt text is present */
}

/* Link and Filename */
.azblob_link {
    display: flex;
    align-items: center;
    flex: 1;
    color: #0073aa;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
    min-width: 0;
    padding: 4px 8px;
    margin: -4px -8px;
    border-radius: 3px;
}

.azblob_link:hover {
    color: #005a87;
    background-color: #e8f4f8;
}

.azblob_link:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
    background-color: #e8f4f8;
}

.azblob_filename {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Folder specific styling */
.azblob_folder .azblob_link {
    color: #333;
    font-weight: 600;
}

.azblob_folder .azblob_link:hover {
    color: #0073aa;
}

/* File Details (Size and Time) */
.azblob_details {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.azblob_filesize {
    display: inline-block;
    min-width: 80px;
    text-align: right;
}

.azblob_filetime {
    display: inline-block;
    min-width: 150px;
    text-align: right;
}

/* Table View */
.azblob_table_view {
    overflow-x: auto;
}

.azblob_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 14px;
    line-height: 1.5;
}

.azblob_table thead {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.azblob_table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #ddd;
}

.azblob_table th:last-child {
    border-right: none;
}

.azblob_table td {
    padding: 12px 15px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.azblob_table td:last-child {
    border-right: none;
}

.azblob_table tbody tr:hover {
    background-color: #f9f9f9;
}

.azblob_table tbody tr:focus-within {
    background-color: #e8f4f8;
}

.azblob_col_icon {
    width: 40px;
    text-align: center;
}

.azblob_col_name {
    flex: 1;
}

.azblob_col_size {
    width: 100px;
    text-align: right;
}

.azblob_col_date {
    width: 150px;
    text-align: right;
}

/* Skip to content link */
.azblob_skip_link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.azblob_skip_link:focus {
    top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .azblob_item_content {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }
    
    .azblob_link {
        flex-basis: 100%;
        order: 2;
    }
    
    .azblob_icon {
        order: 1;
    }
    
    .azblob_details {
        flex-basis: 100%;
        order: 3;
        gap: 10px;
        font-size: 12px;
    }
    
    .azblob_filesize,
    .azblob_filetime {
        min-width: auto;
        text-align: left;
    }
    
    .azblob_table {
        font-size: 12px;
    }
    
    .azblob_table th,
    .azblob_table td {
        padding: 8px 10px;
    }
    
    .azblob_col_size,
    .azblob_col_date {
        width: auto;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .azblob_subdirpath {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .azblob_item_content {
        padding: 8px 10px;
    }
    
    .azblob_icon {
        width: 28px;
        height: 28px;
    }
    
    .azblob_details {
        gap: 8px;
        font-size: 11px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .azblob_link {
        text-decoration: underline;
        font-weight: 600;
    }
    
    .azblob_table th {
        border: 2px solid #333;
    }
    
    .azblob_table td {
        border: 1px solid #333;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .azblob_item,
    .azblob_link,
    .azblob_subdirpath a {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .azblob_subdirpath {
        border-left: 2px solid #333;
    }
    
    .azblob_link {
        color: #000;
        text-decoration: none;
    }
    
    .azblob_item:hover {
        background-color: transparent;
    }
}