/* Custom Styles - New Color Theme */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0d0f25, #111c3d);
    min-height: 100vh;
    color: #ffffff;
}


/* Neon Glow Effects */

.neon-glow {
    transition: all 0.3s ease;
}

.neon-glow:hover {
    text-shadow: 0 0 10px #00e0ff;
}

.search-glow {
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
    transition: all 0.3s ease;
}

.search-glow:focus {
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.5);
}


/* File Box Styles with Neon Glow - New Theme */

.file-item {
    background: linear-gradient(135deg, #1b1f3a, #21264a);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}


.file-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 224, 255, 0.8);
    box-shadow: 0 15px 35px rgba(0, 224, 255, 0.3), 0 0 50px rgba(0, 224, 255, 0.2);
}

.file-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.1), transparent);
    transition: left 0.6s;
}

.file-item:hover::before {
    left: 100%;
}


/* File Content Layout */

.file-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Checkbox styles removed */

.file-icon {
    font-size: 1.5rem;
    margin-left: 12px;
    text-shadow: 0 0 8px currentColor;
}

.file-icon.music {
    color: #10b981;
    transition: all 0.3s ease;
}

.file-icon.movie {
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.file-icon.software {
    color: #ef4444;
    transition: all 0.3s ease;
}

.file-icon.document {
    color: #f59e0b;
    transition: all 0.3s ease;
}

.file-icon.archive {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.file-icon.folder {
    color: #f59e0b;
    transition: all 0.3s ease;
}

.file-icon:hover {
    text-shadow: 0 0 10px currentColor;
    transform: scale(1.1);
}

    .file-info {
        flex: 1;
        min-width: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

.file-name {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 2px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.file-details {
    display: flex;
    gap: 4px;
    font-size: 0.7rem;
    color: #c7c7c7;
    flex-wrap: wrap;
}


/* File Size and Type Labels - New Theme */

.file-size {
    background: #00e0ff;
    color: #000000;
    padding: 1px 3px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: bold;
    margin-left: 2px;
    box-shadow: 0 0 4px rgba(0, 224, 255, 0.3);
    white-space: nowrap;
}

.file-type {
    padding: 1px 3px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: bold;
    margin-left: 2px;
    white-space: nowrap;
}

.file-type.music {
    background: #10b981;
    color: #ffffff;
}

.file-type.movie {
    background: #8b5cf6;
    color: #ffffff;
}

.file-type.software {
    background: #ef4444;
    color: #ffffff;
}

.file-type.document {
    background: #f59e0b;
    color: #ffffff;
}

.file-type.archive {
    background: #3b82f6;
    color: #ffffff;
}

.file-type.folder {
    background: #f59e0b;
    color: #ffffff;
}


/* Download Button - New Theme */

.download-btn {
    background: #00cfff;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 207, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    min-width: fit-content;
}

.download-btn:hover {
    background: #00b8e6;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 207, 255, 0.5);
}

.download-btn:active {
    transform: scale(0.95);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

/* Share Button - New Theme */

.share-btn {
    background: #10b981;
    border: none;
    color: white;
    padding: 6px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.share-btn:hover {
    background: #059669;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.share-btn:active {
    transform: scale(0.95);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.share-btn:hover::before {
    left: 100%;
}




/* Banner Spaces for Advertising */

#topBannerSpace {
    margin: 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

#topBannerSpace>div {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/9;
    min-height: 80px;
    max-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Banner image optimization */

#topBannerSpace img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 1rem;
}

#topBannerSpace>div::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.1), transparent);
    transition: left 0.6s;
}

#topBannerSpace>div:hover::before {
    left: 100%;
}


/* Advertisement Section - Redesigned */

#advertisementSection {
    margin: 40px 0;
}

#advertisementBox {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

#advertisementBox:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
}

#advertisementBox:active {
    transform: scale(0.98);
}

#bannerImage {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#bannerImage::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.1), transparent);
    transition: left 0.6s;
}

#bannerImage:hover::before {
    left: 100%;
}

#bannerImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

#adLink {
    transition: all 0.3s ease;
}

#adLink:hover {
    transform: translateX(-2px);
}


/* Admin Panel Styles - New Theme */

.admin-content {
    background: linear-gradient(135deg, #0d0f25, #1b1f3a);
    height: 100vh;
    overflow-y: auto;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.admin-sidebar {
    background: linear-gradient(135deg, #1b1f3a, #21264a);
    height: 100vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}


/* Form Styles - New Theme */

.admin-form input,
.admin-form select,
.admin-form textarea {
    background: rgba(13, 15, 37, 0.8);
    border: 2px solid rgba(0, 224, 255, 0.3);
    color: white;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #00e0ff;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
}

.admin-form button {
    background: linear-gradient(135deg, #00cfff, #00b8e6);
    border: none;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
}

.admin-form button:hover {
    background: linear-gradient(135deg, #00b8e6, #00a3cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 207, 255, 0.5);
}


/* Header Styles - New Theme */

header {
    background: linear-gradient(135deg, #0c0f24, #1b1f3a);
    border-bottom: 2px solid rgba(0, 224, 255, 0.3);
}


/* Footer Styles - New Theme */

footer {
    background: linear-gradient(135deg, #0c0f24, #1b1f3a);
    border-top: 2px solid rgba(0, 224, 255, 0.3);
}


/* Responsive Design */


/* Large Desktop (1200px and up) */

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    #topBannerSpace {
        max-width: 1000px;
        margin: 20px auto;
        padding: 0 20px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 100px;
        max-height: 140px;
    }
}

/* Extra Large Desktop (1400px and above) */

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }
    #topBannerSpace {
        max-width: 1200px;
        margin: 25px auto;
        padding: 0 20px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 110px;
        max-height: 160px;
    }
}


/* Desktop (992px to 1199px) */

@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
        margin: 0 auto;
        padding: 0 20px;
    }
    #topBannerSpace {
        max-width: 900px;
        margin: 18px auto;
        padding: 0 20px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 90px;
        max-height: 120px;
    }
}


/* Tablet (768px to 991px) */

@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }
    .file-item {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .file-content {
        width: 100%;
    }
    .file-icon {
        font-size: 1.5rem;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    .admin-content {
        height: auto;
    }
    /* Banner Spaces Responsive - Tablet */
    #topBannerSpace {
        max-width: 100%;
        margin: 20px auto;
        padding: 0 20px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 180px;
        max-height: 280px;
        width: 100%;
        max-width: 100%;
    }
    #topBannerSpace img {
        object-fit: contain;
        object-position: center;
    }
    #topBannerSpace .text-lg {
        font-size: 1.1rem;
    }
    #topBannerSpace .text-sm {
        font-size: 0.8rem;
    }
    #topBannerSpace i {
        font-size: 2.5rem;
    }
}


/* Mobile Large (481px to 767px) */

@media (max-width: 767px) and (min-width: 481px) {
    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }
    .file-item {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .file-content {
        width: 100%;
    }
    .file-icon {
        font-size: 1.2rem;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    .admin-content {
        height: auto;
    }
    /* Banner Spaces Responsive - Mobile Large */
    #topBannerSpace {
        max-width: 100%;
        margin: 15px auto;
        padding: 0 15px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 150px;
        max-height: 220px;
        width: 100%;
        max-width: 100%;
    }
    #topBannerSpace img {
        object-fit: contain;
        object-position: center;
    }
    #topBannerSpace .text-lg {
        font-size: 1rem;
    }
    #topBannerSpace .text-sm {
        font-size: 0.75rem;
    }
    #topBannerSpace i {
        font-size: 2rem;
    }
}


/* Mobile Small (320px to 480px) */

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    .file-item {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .file-content {
        width: 100%;
    }
    .file-icon {
        font-size: 1rem;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    .admin-content {
        height: auto;
    }
    /* Header ultra compact for small mobile */
    header {
        padding: 2px 0;
    }
    header .container {
        padding: 2px 4px;
    }
    header h1 {
        font-size: 0.9rem;
    }
    header .text-4xl {
        font-size: 0.9rem;
    }
    header .fas.fa-download {
        font-size: 0.9rem !important;
    }
    #searchInput {
        font-size: 10px;
        padding: 3px 6px;
        height: 24px;
        min-width: 100px;
        max-width: 120px;
    }
    #pageShareBtn {
        font-size: 9px;
        padding: 3px 4px;
        height: 24px;
    }
    .flex.bg-slate-800\/60 button {
        padding: 3px;
        font-size: 9px;
    }
    /* Banner Spaces Responsive - Mobile Small */
    #topBannerSpace {
        max-width: 100%;
        margin: 10px auto;
        padding: 0 10px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 120px;
        max-height: 180px;
        width: 100%;
        max-width: 100%;
    }
    #topBannerSpace img {
        object-fit: contain;
        object-position: center;
    }
    #topBannerSpace .text-lg {
        font-size: 0.9rem;
    }
    #topBannerSpace .text-sm {
        font-size: 0.7rem;
    }
    #topBannerSpace i {
        font-size: 1.5rem;
    }
}


/* Extra Small Mobile (320px and below) */

@media (max-width: 320px) {
    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 5px;
    }
    /* Header ultra compact for extra small screens */
    header {
        padding: 1px 0;
    }
    header .container {
        padding: 1px 2px;
    }
    header .flex {
        flex-direction: row;
        gap: 3px;
        align-items: center;
        flex-wrap: wrap;
    }
    header h1 {
        font-size: 0.8rem;
    }
    header .text-4xl {
        font-size: 0.8rem;
    }
    header .fas.fa-download {
        font-size: 0.8rem !important;
    }
    /* Search bar responsive */
    #searchInput {
        font-size: 9px;
        padding: 2px 4px;
        height: 22px;
        min-width: 80px;
        max-width: 100px;
    }
    /* View toggle responsive */
    .flex.bg-slate-800\/60 {
        gap: 1px;
        padding: 1px;
    }
    .flex.bg-slate-800\/60 button {
        padding: 2px;
        font-size: 8px;
    }
    /* Back button */
    #backBtn {
        font-size: 8px;
        padding: 2px 3px;
        height: 22px;
    }
    /* Page share button */
    #pageShareBtn {
        font-size: 8px;
        padding: 2px 3px;
        height: 22px;
    }
    #topBannerSpace {
        max-width: 100%;
        margin: 8px auto;
        padding: 0 5px;
    }
    #topBannerSpace>div {
        aspect-ratio: 16/9;
        min-height: 100px;
        max-height: 150px;
        width: 100%;
        max-width: 100%;
    }
    #topBannerSpace img {
        object-fit: contain;
        object-position: center;
    }
    #topBannerSpace .text-lg {
        font-size: 0.8rem;
    }
    #topBannerSpace .text-sm {
        font-size: 0.6rem;
    }
    #topBannerSpace i {
        font-size: 1.2rem;
    }
}


/* Mobile Sidebar Menu */
#mobileSidebar {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

/* Telegram Mobile Browser Fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari and Telegram WebView fixes */
    body {
        -webkit-overflow-scrolling: touch;
        -webkit-text-size-adjust: 100%;
    }
    
    .file-item {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .file-item:hover {
        -webkit-transform: translateY(-4px) translateZ(0);
        transform: translateY(-4px) translateZ(0);
    }
}


#mobileSidebar .fas {
    transition: all 0.3s ease;
}

#mobileSidebar button:hover .fas {
    transform: scale(1.1);
}

#mobileSidebar input:focus {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Mobile Menu Button */
#mobileMenuBtn {
    transition: all 0.3s ease;
}

#mobileMenuBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

#mobileMenuBtn:active {
    transform: scale(0.95);
}

/* Mobile Sidebar Overlay */
#mobileSidebarOverlay {
    transition: opacity 0.3s ease;
}

/* Responsive Design */

/* Desktop and Laptop Styles */
@media (min-width: 1024px) {
    .file-item {
        padding: 10px;
        margin-bottom: 10px;
        min-height: 55px;
    }
    
    .file-content {
        gap: 16px;
    }
    
    .file-name {
        font-size: 0.8rem;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .file-details {
        font-size: 0.75rem;
        gap: 8px;
    }
    
    .file-icon {
        font-size: 1.4rem;
    }
    
    .download-btn, .share-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        height: 36px;
    }
    
    .download-btn {
        min-width: 100px;
    }
    
    .share-btn {
        min-width: 36px;
        width: 36px;
    }
}

/* Tablet Styles */
@media (max-width: 1023px) and (min-width: 769px) {
    .file-item {
        padding: 8px;
        margin-bottom: 8px;
        min-height: 50px;
    }
    
    .file-content {
        gap: 14px;
    }
    
    .file-name {
        font-size: 0.75rem;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .file-details {
        font-size: 0.7rem;
        gap: 6px;
    }
    
    .file-icon {
        font-size: 1.3rem;
    }
    
    .download-btn, .share-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
        height: 34px;
    }
    
    .download-btn {
        min-width: 90px;
    }
    
    .share-btn {
        min-width: 34px;
        width: 34px;
    }
}

/* Mobile Styles - Universal for all browsers including Telegram */
@media (max-width: 768px) {
    /* Hide desktop menu elements on mobile */
    .hidden.lg\\:flex {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .lg\\:hidden {
        display: block !important;
    }
    
    /* Header responsive - mobile optimized */
    header {
        padding: 6px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    header .container {
        padding: 6px 8px;
    }
    header .flex {
        justify-content: space-between;
        align-items: center;
    }
    
    /* Logo and title */
    header .flex > div:first-child {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    header h1 {
        font-size: 1.2rem;
        margin: 0;
    }
    header .text-4xl {
        font-size: 1.2rem;
    }
    header .fas.fa-download {
        font-size: 1.2rem !important;
    }
    
    /* Mobile menu button - positioned correctly */
    #mobileMenuBtn {
        padding: 6px;
        font-size: 14px;
        order: 2;
    }
    
    /* File items responsive */
    .file-item {
        padding: 8px;
        margin-bottom: 8px;
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        min-height: auto;
        box-sizing: border-box;
    }
    
    .file-content {
        width: 100%;
        gap: 8px;
        flex-direction: row;
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        overflow: visible;
    }
    
    .file-item .flex.gap-2 {
        flex-shrink: 0;
        gap: 4px;
        align-items: flex-start;
        margin-top: 2px;
    }
    
    .file-icon {
        font-size: 1.2rem;
    }
    
    .file-name {
        font-size: 0.75rem;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
        line-height: 1.3;
        max-height: none;
        overflow: visible;
        text-overflow: unset;
        display: block;
    }
    
    .file-details {
        flex-wrap: wrap;
        gap: 3px;
        font-size: 0.6rem;
        margin-top: 2px;
    }
    
    .file-size, .file-type {
        font-size: 0.55rem;
        padding: 1px 3px;
    }
    
    /* Button responsive */
    .download-btn, .share-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
        min-width: auto;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .download-btn {
        flex: 0 0 auto;
        min-width: 60px;
    }
    
    .share-btn {
        min-width: 28px;
        flex: 0 0 auto;
        width: 28px;
    }
    
    /* Grid view removed - only list view supported */
}


/* Admin Panel Responsive */

@media (max-width: 768px) {
    #adminPanel .flex {
        flex-direction: column;
    }
    #adminPanel .w-80 {
        width: 100%;
        height: auto;
    }
    #adminContent {
        height: auto;
        min-height: 50vh;
    }
    /* Admin modal responsive */
    #adminModal .w-full.max-w-md {
        max-width: 95%;
        margin: 20px;
    }
}


/* Loading Animation */

.loading {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}


/* Success/Error Messages */

.message {
    padding: 16px 24px;
    border-radius: 12px;
    margin: 15px 0;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

.message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.3);
}


/* Scrollbar Styling - New Theme */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(27, 31, 58, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00e0ff, #00cfff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00cfff, #00b8e6);
}


/* Folder Navigation Messages */

.folder-message {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Loading Indicator */
#folderLoadingIndicator {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Additional Glow Effects */

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, #00e0ff, #00cfff, #00e0ff);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
    opacity: 1;
}


/* Grid View Styles */

.grid-view .file-item {
    width: 100%;
    margin-bottom: 20px;
}

.list-view .file-item {
    width: 100%;
    margin-bottom: 16px;
}


/* View Toggle Buttons - New Theme */

#gridView,
#listView {
    transition: all 0.3s ease;
}

#gridView.active,
#listView.active {
    background: #00cfff;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
}


/* Search Input - New Theme */

#searchInput {
    background: rgba(27, 31, 58, 0.6);
    border: 2px solid rgba(0, 224, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

#searchInput:focus {
    border-color: #00e0ff;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
}

