/* Files Gallery - Topbar Component Styles */

.fg-topbar {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: relative;
    z-index: 100;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 0;
    flex-shrink: 0;
}

.fg-topbar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fg-topbar-logo i {
    font-size: 28px;
    color: white;
}

.fg-topbar-logo h1 {
    color: white;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.fg-topbar-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.fg-topbar-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-small);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.fg-topbar-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.fg-topbar-search input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.fg-topbar-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.fg-topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fg-topbar-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fg-topbar-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.fg-topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px 5px 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fg-topbar-user:hover {
    background: rgba(255, 255, 255, 0.15);
}

.fg-topbar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.fg-topbar-user-name {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Menu Toggle */
.fg-mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .fg-mobile-menu-toggle {
        display: flex;
    }
    
    .fg-topbar-search {
        display: none;
    }
    
    .fg-topbar-actions {
        gap: 10px;
    }
    
    .fg-topbar-user-name {
        display: none;
    }
}