/* File Icon Colors */
.dacdb-file-icon {
    width: 1.125em !important;
    max-width: 1.125em !important;
    height: auto;
    vertical-align: middle;
    margin-right: 0.5em;
}

/* Folder icon specific styles */
.fa-folder.dacdb-file-icon {
    color: #ffd700; /* Gold color for folders */
    font-size: 1.2em;
}

/* Microsoft Office Colors */
.dacdb-file-icon.dacdb-icon-doc,
.dacdb-file-icon.dacdb-icon-docx {
    fill: #2b579a !important; /* Microsoft Word Blue */
    filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(1952%) hue-rotate(207deg) brightness(97%) contrast(101%);
}

.dacdb-file-icon.dacdb-icon-xls,
.dacdb-file-icon.dacdb-icon-xlsx {
    fill: #217346 !important; /* Microsoft Excel Green */
    filter: brightness(0) saturate(100%) invert(35%) sepia(98%) saturate(1012%) hue-rotate(107deg) brightness(94%) contrast(101%);
}

.dacdb-file-icon.dacdb-icon-ppt,
.dacdb-file-icon.dacdb-icon-pptx {
    fill: #d24726 !important; /* Microsoft PowerPoint Red */
    filter: brightness(0) saturate(100%) invert(24%) sepia(98%) saturate(1952%) hue-rotate(207deg) brightness(97%) contrast(101%);
}

/* Adobe Colors */
.dacdb-file-icon.dacdb-icon-pdf {
    fill: #cc0000 !important; /* Adobe PDF Red */
    filter: brightness(0) saturate(100%) invert(12%) sepia(100%) saturate(7463%) hue-rotate(357deg) brightness(100%) contrast(112%);
}

.dacdb-file-icon.dacdb-icon-psd {
    fill: #31a8ff !important; /* Adobe Photoshop Blue */
    filter: brightness(0) saturate(100%) invert(48%) sepia(98%) saturate(1952%) hue-rotate(187deg) brightness(101%) contrast(101%);
}

.dacdb-file-icon.dacdb-icon-ai {
    fill: #ff9a00 !important; /* Adobe Illustrator Orange */
    filter: brightness(0) saturate(100%) invert(48%) sepia(98%) saturate(1952%) hue-rotate(187deg) brightness(101%) contrast(101%);
}

/* Archive Colors */
.dacdb-file-icon.dacdb-icon-zip,
.dacdb-file-icon.dacdb-icon-rar,
.dacdb-file-icon.dacdb-icon-7z {
    fill: #ffd700 !important; /* Gold */
    filter: brightness(0) saturate(100%) invert(83%) sepia(98%) saturate(1952%) hue-rotate(357deg) brightness(101%) contrast(101%);
}

/* Image Colors */
.dacdb-file-icon.dacdb-icon-jpg,
.dacdb-file-icon.dacdb-icon-jpeg,
.dacdb-file-icon.dacdb-icon-png,
.dacdb-file-icon.dacdb-icon-gif,
.dacdb-file-icon.dacdb-icon-bmp,
.dacdb-file-icon.dacdb-icon-svg {
    fill: #4caf50 !important; /* Green */
    filter: brightness(0) saturate(100%) invert(48%) sepia(98%) saturate(1952%) hue-rotate(107deg) brightness(101%) contrast(101%);
}

/* Text Colors */
.dacdb-file-icon.dacdb-icon-txt,
.dacdb-file-icon.dacdb-icon-csv,
.dacdb-file-icon.dacdb-icon-rtf {
    fill: #607d8b !important; /* Blue Grey */
    filter: brightness(0) saturate(100%) invert(38%) sepia(98%) saturate(1952%) hue-rotate(187deg) brightness(101%) contrast(101%);
}

/* Default Color for Unknown Types */
.dacdb-file-icon:not([class*="dacdb-icon-"]) {
    fill: #757575 !important; /* Grey */
    filter: brightness(0) saturate(100%) invert(48%) sepia(98%) saturate(1952%) hue-rotate(187deg) brightness(101%) contrast(101%);
} 