/* Add this CSS to your existing stylesheet */

/* Featured Section Styles */
.featured-section {
    margin-bottom: 40px;
}

.featured-section h2 {
    color: var(--theme-color);
    margin-bottom: 20px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.featured-carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--theme-color);
    box-shadow: 0 0 20px rgba(var(--rgb-theme-color), 0.3);
}

.featured-carousel {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.featured-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-item video,
.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-item video {
    background: #000;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.featured-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--theme-color);
}

.featured-description {
    font-size: 14px;
    opacity: 0.9;
}

/* Navigation buttons */
.featured-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.featured-nav-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--theme-color);
    color: var(--theme-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    pointer-events: all;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-nav-btn:hover {
    background: rgba(var(--rgb-theme-color), 0.2);
    box-shadow: 0 0 15px rgba(var(--rgb-theme-color), 0.5);
    transform: scale(1.1);
}

/* Indicators */
.featured-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.featured-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.featured-indicator.active {
    background: var(--theme-color);
    box-shadow: 0 0 10px rgba(var(--rgb-theme-color), 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.featured-indicator:hover {
    background: rgba(var(--rgb-theme-color), 0.7);
    transform: scale(1.2);
}

/* Video controls styling */
.featured-item video::-webkit-media-controls {
    display: none !important;
}

.featured-item video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Responsive design for featured section */
@media (max-width: 768px) {
    .featured-carousel-container {
        height: 250px;
    }
    
    .featured-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .featured-nav {
        padding: 0 10px;
    }
    
    .featured-title {
        font-size: 18px;
    }
    
    .featured-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .featured-carousel-container {
        height: 200px;
    }
    
    .featured-overlay {
        padding: 15px;
    }
}

/* Add this CSS to your existing featured section styles */

/* Audio Button Styles */
.featured-audio-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--theme-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.featured-audio-btn:hover {
    background: rgba(var(--rgb-theme-color), 0.2);
    box-shadow: 0 0 15px rgba(var(--rgb-theme-color), 0.5);
    transform: scale(1.1);
}

.audio-icon {
    color: var(--theme-color);
    transition: all 0.3s ease;
}

.audio-icon.muted {
    opacity: 0.6;
}

/* Featured Modal Styles */
.featured-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.featured-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--theme-color);
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    width: 800px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideInModal 0.3s ease-out;
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.featured-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(var(--rgb-theme-color), 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-modal-header h3 {
    color: var(--theme-color);
    margin: 0;
    font-size: 24px;
}

.featured-modal-close {
    background: none;
    border: none;
    color: var(--theme-color);
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.featured-modal-close:hover {
    background: rgba(var(--rgb-theme-color), 0.2);
    transform: scale(1.1);
}

.featured-modal-media {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.featured-modal-media video,
.featured-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-modal-media video {
    background: #000;
}

.featured-modal-description {
    padding: 20px;
    border-top: 1px solid rgba(var(--rgb-theme-color), 0.3);
}

.featured-modal-description p {
    color: #e0e0e0;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Light theme modal styles */
body.light-theme .featured-modal-content {
    background: #ffffff;
    color: #1a1a2e;
}

body.light-theme .featured-modal-header,
body.light-theme .featured-modal-description {
    border-color: rgba(var(--rgb-theme-color), 0.3);
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .featured-modal-content {
        width: 95%;
        max-height: 95%;
    }
    
    .featured-modal-media {
        height: 300px;
    }
    
    .featured-modal-header h3 {
        font-size: 20px;
    }
    
    .featured-modal-header,
    .featured-modal-description {
        padding: 15px;
    }
    
    .featured-audio-btn {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .featured-modal-media {
        height: 250px;
    }
    
    .featured-modal-header h3 {
        font-size: 18px;
    }
    
    .featured-modal-description p {
        font-size: 14px;
    }
    
    .featured-audio-btn {
        width: 35px;
        height: 35px;
    }
}

/* Enhanced featured item clickability */
.featured-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-item:hover {
    transform: scale(1.02);
}

.featured-item:hover .featured-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

/* Click indicator for featured items */
.featured-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(var(--rgb-theme-color), 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.featured-item::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    color: #000;
    font-size: 20px;
    z-index: 15;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.featured-item:hover::after,
.featured-item:hover::before {
    opacity: 1;
}

/* Ensure audio button stays above overlay effects */
.featured-audio-btn {
    z-index: 20;
}


/* App Tiles Design */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.app-tile {
    display: flex;
    align-items: center;
    background-color: #1a1a1a; /* Dark gray, almost black */
    border-radius: 12px;
    border: 1px solid #00ffcc; /* Neon cyan border */
    padding: 15px;
    box-shadow: 
        0 0 10px rgba(0, 255, 204, 0.3), /* Soft neon glow */
        0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-tile:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 15px rgba(0, 255, 204, 0.5), /* Enhanced neon glow on hover */
        0 6px 12px rgba(0, 0, 0, 0.3);
}

.app-icon {
    margin-right: 15px;
}

.app-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 10px;
    filter: brightness(0.9) saturate(1.2); /* Slightly enhance icon visibility */
}

.app-details {
    flex-grow: 1;
}

.app-details h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #00ffcc; /* Neon cyan for headings */
}

.app-details p {
    margin: 0 0 10px 0;
    color: #8af0e6; /* Lighter cyan for description */
    font-size: 13px;
}

.connect-btn {
    background-color: transparent;
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.connect-btn:hover {
    background-color: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

.connect-btn:disabled {
    background-color: rgba(var(--rgb-theme-color), 0.1);
    color: #5a5a5a;
    border-color: #5a5a5a;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
}






/* Scoped Applications CSS - Won't affect other pages */
.applications-container .tab-content {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.applications-container .profile-section h2 {
    color: #333;
    margin-bottom: 30px;
}

.applications-container .app-category-title {
    color: #666;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.applications-container .apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.applications-container .app-tile {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.2s;
}

.applications-container .app-tile:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.applications-container .app-icon {
    margin-right: 15px;
}

.applications-container .app-icon img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
}

.applications-container .app-details {
    flex: 1;
    position: relative;
}

#apps-tab .app-details h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap; 
}

.applications-container .app-details p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.applications-container .info-icon {
    width: 16px;
    height: 16px;
    background: #007bff;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.applications-container .info-icon:hover {
    background: #0056b3;
}

.applications-container .connect-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.applications-container .connect-btn:hover:not(:disabled) {
    background: #0056b3;
}

.applications-container .connect-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Info Card Styles - Theme-aware */
.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.info-card {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--theme-color);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

/* Light theme info card */
body.light-theme .info-card {
    background: #ffffff;
    border: 2px solid var(--theme-color);
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.20), 0 4px 12px rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card-header {
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-color);
    margin: 0;
}

/* Light theme title */
body.light-theme .info-card-title {
    color: var(--theme-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--theme-color);
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(var(--rgb-theme-color), 0.2);
}

/* Light theme close button */
body.light-theme .close-btn {
    color: var(--theme-color);
}

body.light-theme .close-btn:hover {
    background: rgba(var(--rgb-theme-color), 0.2);
}

.image-carousel {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin: 20px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--rgb-theme-color), 0.3);
    display: flex;
    align-items: center;
}

/* Light theme carousel */
body.light-theme .image-carousel {
    background: #f0f2f8;
    border: 1px solid rgba(var(--rgb-theme-color), 0.25);
}

.carousel-images {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: rgba(0, 0, 0, 0.1);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: var(--theme-color);
    box-shadow: 0 0 8px rgba(var(--rgb-theme-color), 0.6);
}

.info-card-content {
    padding: 0 20px 20px 20px;
}

.info-description {
    color: var(--theme-color);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Light theme description */
body.light-theme .info-description {
    color: #2d2d44;
}

.info-features {
    margin-top: 15px;
}

.info-features h4 {
    color: var(--theme-color);
    margin-bottom: 10px;
}

.info-features ul {
    margin: 0;
    padding-left: 20px;
    color: var(--theme-color);
    opacity: 0.8;
}

/* Light theme features */
body.light-theme .info-features h4 {
    color: var(--theme-color);
}

body.light-theme .info-features ul {
    color: #2d2d44;
}

.info-features li {
    margin-bottom: 5px;
}

.applications-container .info-icon,
#apps-tab .info-icon,
.info-icon {
    width: 16px;
    height: 16px;
    background: var(--theme-color);
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(var(--rgb-theme-color), 0.4);
}

.applications-container .info-icon:hover,
#apps-tab .info-icon:hover,
.info-icon:hover {
    background: rgba(var(--rgb-theme-color), 0.8);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(var(--rgb-theme-color), 0.6);
}

/* Light theme info icon */
body.light-theme .info-icon {
    background: var(--theme-color);
    color: #000;
    box-shadow: 0 0 8px rgba(var(--rgb-theme-color), 0.4);
}

body.light-theme .info-icon:hover {
    background: rgba(var(--rgb-theme-color), 0.8);
    box-shadow: 0 0 12px rgba(var(--rgb-theme-color), 0.6);
}

/* Enhanced Connect Button Styles for AI Status - Neon Cyan Theme */
.connect-btn {
    background-color: transparent;
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
    white-space: nowrap;  /* Prevents text wrapping */
    overflow: hidden;     /* Hides overflow if text is too long */
    text-overflow: ellipsis; /* Adds ... if text is cut off (optional) */
}

.connect-btn.available {
    background-color: transparent;
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

.connect-btn.available:hover {
    background-color: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
    transform: translateY(-1px);
}

.connect-btn.slow {
    background-color: transparent;
    color: #ffa500;
    border: 1px solid #ffa500;
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.3);
}

.connect-btn.slow:hover {
    background-color: rgba(255, 165, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
}

.connect-btn.busy {
    background-color: rgba(255, 69, 69, 0.1);
    color: #ff4545;
    border: 1px solid #ff4545;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(255, 69, 69, 0.3);
}

.connect-btn.unavailable {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid #6b7280;
    cursor: not-allowed;
    opacity: 0.5;
}

.connect-btn.checking {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    animation: pulse 2s infinite;
}

.connect-btn.coming-soon {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid #8b5cf6;
    cursor: not-allowed;
    opacity: 0.6;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    }
}

/* AI Status Indicator - Neon Cyan Theme */
.ai-status-indicator {
    display: inline-block;
    margin-left: 5px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    vertical-align: middle;
    /* Remove: position, top, right, z-index */
}

.ai-status-indicator.operational {
    color: var(--theme-color);
    border: 1px solid var(--theme-color);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

.ai-status-indicator.slow {
    color: #ffa500;
    border: 1px solid #ffa500;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
}

.ai-status-indicator.busy {
    color: #ff4545;
    border: 1px solid #ff4545;
    box-shadow: 0 0 15px rgba(255, 69, 69, 0.3);
    animation: glow-red 2s infinite;
}

.ai-status-indicator.unavailable {
    color: #6b7280;
    border: 1px solid #6b7280;
    box-shadow: 0 0 15px rgba(107, 114, 128, 0.3);
}

.ai-status-indicator.checking {
    color: #3b82f6;
    border: 1px solid #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    animation: glow-blue 2s infinite;
}

@keyframes glow-red {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 69, 69, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 69, 69, 0.6);
    }
}

@keyframes glow-blue {
    0%, 100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    }
}

/* Light theme adjustments */
body.light-theme .ai-status-indicator {
    background-color: rgba(248, 249, 250, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-status-indicator {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Storage Section Header */
.storage-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping if needed */
}

.storage-section-header .app-category-title {
    margin: 0;
    flex-shrink: 0; /* Prevent title from shrinking */
}

/* Storage Usage Indicator */
.storage-usage-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 160px; /* Reduced from 200px */
    margin-left: 0; /* Remove negative margin */
}

.storage-text {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
    color: var(--theme-color)
}

.storage-bar {
    width: 140px; /* Slightly smaller for mobile compatibility */
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(var(--rgb-theme-color), 0.3);
}

.storage-fill {
    height: 100%;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--theme-color), rgba(var(--rgb-theme-color), 0.7));
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .storage-section-header {
        flex-direction: row; /* Keep horizontal on mobile */
        align-items: center;
        justify-content: space-between; /* Distribute space */
        gap: 10px;
        flex-wrap: nowrap; /* Prevent wrapping */
    }
    
    .storage-usage-indicator {
        align-items: flex-end; /* Align to right on mobile */
        min-width: 120px; /* Smaller min-width */
        flex-shrink: 0; /* Prevent shrinking */
    }
    
    .storage-text {
        font-size: 10px; /* Smaller text on mobile */
        text-align: right;
    }
    
    .storage-bar {
        width: 100px; /* Smaller bar on mobile */
        height: 6px; /* Thinner bar */
    }
}

@media (max-width: 480px) {
    .storage-section-header {
        gap: 8px;
    }
    
    .storage-usage-indicator {
        min-width: 100px;
    }
    
    .storage-text {
        font-size: 9px;
    }
    
    .storage-bar {
        width: 80px;
        height: 5px;
    }
}

/* Very small screens - stack vertically if absolutely necessary */
@media (max-width: 360px) {
    .storage-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .storage-usage-indicator {
        align-items: flex-start;
        width: 100%;
    }
    
    .storage-text {
        text-align: left;
        font-size: 10px;
    }
    
    .storage-bar {
        width: 120px;
        height: 6px;
    }
}